[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] build group of elements


Subject: [xsl] build group of elements
From: henry human <henry_human@xxxxxxxx>
Date: Fri, 22 Jun 2012 12:36:03 +0100 (BST)

Result(output)
Hello 
I will create group of element foo as in sample I show
bellow. The group must contain three foo elements and the XML input file kann
have many of this elements or zero:


<fooGroup>
		<foo1>
			<CDE>aa</CDE>
</foo1>
		<foo2>
			<CDE>bb</CDE>
		</foo2>
		<foo3>
			<CDE>bb</CDE>
</foo3>
</fooGroup>

--------------
XML(iput)

<xmlfile>
		<foo>
<CDE>aa</CDE>
		</foo>
		<foo>
			<CDE>bb</CDE>
		</foo>
		
			<CDE>aa</CDE>
</foo>
		<foo>
			<CDE>bb</CDE>
		</foo>
		<foo>
			<CDE>aa</CDE>
		</foo>
<foo>
			<CDE>bb</CDE>
		</foo>
		<foo>
			<CDE>aa</CDE>
		</foo>
		<foo>
<CDE>bb</CDE>
		</foo>
		<foo>
		....
		
	</xmlfile>	


brg
hh


Current Thread
Keywords
xml