Re: [xsl] build group of elements

Subject: Re: [xsl] build group of elements
From: henry human <henry_human@xxxxxxxx>
Date: Fri, 22 Jun 2012 13:54:44 +0100 (BST)
The input file was just a sample to show the xml data has more foo elements.
<myxmlfile>
<ss></ss>...<foo></foo>.................<foo></foo> </myxmlfile>
//presume there are 100 foo elements in the xml file
My sample output which is
created througth  xslt
 has groups of foo elment. Each group consists of three
foo elements.
 (each three foo elments build a group). example
 <fooGroup>=
foo[1], foo[2]. foo[3]
 <fooGroup>= foo[4], foo[5]. foo[6]
 <fooGroup>=
foo[7], foo[8]. foo[9]
 .................
 I hope I am much clear now.
 hh
--- David Carlisle <davidc@xxxxxxxxx> schrieb am Fr, 22.6.2012:

> Von: David
Carlisle <davidc@xxxxxxxxx>
> Betreff: Re: [xsl] build group of elements
> An:
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> CC: "henry human" <henry_human@xxxxxxxx>
>
Datum: Freitag, 22. Juni, 2012 13:45 Uhr
> 
> Perhaps it is just me but I can
not guess any relationship
> between the input and the desired output given
your
> description.
> 
> The input file consists of a top level element
xmlfile
> (which is a bad name as names beginning with "xml" are
> reserved)
with a number of children all with name foo.
> 
> Your output file consists of
a top level element fooGroup
> with three children named foo1 foo2 and foo3,
but there
> doesn't seem to be any indication of how the contents of
> those
three children depend on the initial input.
> 
> David
> 
> 
>
________________________________________________________________________
> The
Numerical Algorithms Group Ltd is a company registered
> in England
> and
Wales with company number 1249803. The registered office
> is:
> Wilkinson
House, Jordan Hill Road, Oxford OX2 8DR, United
> Kingdom.
> 
> This e-mail
has been scanned for all viruses by Star. The
> service is
> powered by
MessageLabs.
>
________________________________________________________________________
> 
>
--~------------------------------------------------------------------
>
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To
unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail:
<mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --~--

Current Thread