Converting attributes into child elements

Subject: Converting attributes into child elements
From: jlangdon@xxxxxxxxxxxx
Date: Sat, 11 Nov 2000 12:38:39 EDT
Hello All,

I need some help with a transformation.  I would like to take an element
with multiple attributes and convert them so the attributes are now child
elements of the original element.  See example.

<person fname="John" lname="Doe" address="123 Main Street" 
<person fname="John" lname="Doo" address="456 Main Street" city="Trenton"
<person fname="John" lname="Doh" address="789 Main Street" 

Convert to

    <address>123 Main Street</address>
    <address>456 Main Street</address>
    <address>789 Main Street</address>

Any direction would be greatly appreciated.


Jeff Langdon
Web Programmer
LTA Group, Inc
Jamesburg, NJ 08831

This message was sent using MI-Webmail.
No matter where you are, never lose touch.
Get your Email using MI-Webmail.

 XSL-List info and archive:

Current Thread