This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Converting to arrays


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]