[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Build group of rowly elements

Subject: RE: Build group of rowly elements
From: Michele R Combs <mrrothen@xxxxxxx>
Date: Fri, 28 Jun 2013 13:20:04 +0000
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> 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.