Convert element name to text
Posted: Fri May 16, 2008 1:36 am
Hi,
I'm hoping someone might be kind enough to tell me how to convert an element name to text.
A contrived, but simple example:
<LIST>
<Color>Blue</Color>
<Size>Small</Small>
</LIST>
converted to:
<LIST>
<ATTRIBUTE>
<TYPE>Color</TYPE>
<VALUE>Blue<VALUE>
</ATTRIBUTE>
<ATTRIBUTE>
<TYPE>Size</TYPE>
<VALUE>Small</VALUE>
</ATTRIBUTE>
</LIST>
Thanks very much,
T
I'm hoping someone might be kind enough to tell me how to convert an element name to text.
A contrived, but simple example:
<LIST>
<Color>Blue</Color>
<Size>Small</Small>
</LIST>
converted to:
<LIST>
<ATTRIBUTE>
<TYPE>Color</TYPE>
<VALUE>Blue<VALUE>
</ATTRIBUTE>
<ATTRIBUTE>
<TYPE>Size</TYPE>
<VALUE>Small</VALUE>
</ATTRIBUTE>
</LIST>
Thanks very much,
T