[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Build group of rowly elements
Looks pretty straightforward: match="elements" to output packages match="row" to output package match="element[1]" to output name match="element[2]" to output id match="element[3]" to output description Right? -----Original Message----- From: henry human [mailto:henry_human@xxxxxxxx] Sent: Friday, June 28, 2013 12:10 AM To: xslforum xslforum Subject: Build group of rowly elements I have following XML data elements to be grouped as package. Thanks for any useful hint <elements> <row> <element>S</element> <element>01</element> <element>ABC</element> </row> <row> <element>MP</element> <element>04</element> <element>DEF</element> </row> ...... </elements> --------------------------- Output mus be like: <packages> <package> <name>S</name> <id>01</id> <description>ABC</description> </package> <package> <name>MP</name> <id>03</id> <description>DEF</description> </package> .......... </packages>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|