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

Converting to arrays

Subject: Converting to arrays
From: "Bharathy Itnal" <bharathy_itnal@xxxxxxxxxxx>
Date: Thu, 15 Aug 2002 18:05:27 +0000
xml 2d array
Hi,

I have to convert the following section of tan XML into a 2d array.

<employees>
<employee  name="name1" dept="dept1" />
<employee  name="name2" dept="dept1" />
<employee  name="name3" dept="dept2" />
<employee  name="name4" dept="dept2" />
<employee  name="name5" dept="dept2" />
<employee  name="name6" dept="dept3" />
<employee  name="name7" dept="dept3" />
</employees>

The array has to be of form arrEmployee[dept][name].

Any input on this welcome.
Thanks in advance.

B





_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.