xsl-list
[Top] [All Lists]

Re: [xsl] build group of elements

2012-06-22 08:02:47
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(_at_)nag(_dot_)co(_dot_)uk> schrieb am Fr, 22.6.2012:

Von: David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
Betreff: Re: [xsl] build group of elements
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
CC: "henry human" <henry_human(_at_)yahoo(_dot_)de>
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>