xsl-list
[Top] [All Lists]

[xsl] build group of elements

2012-06-22 06:38:20


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

--~------------------------------------------------------------------
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>