I have the basic structure.
<list>
<member>
<lastname>Jones</lastname>
<firstname>Frank</firstname>
<email>frank@xxxxxxxxx</email>
</member>
<member>
<lastname>Smith</lastname>
<firstname>John</firstname>
</member>
</list>
The second <member> does not have an <email> element. I want to duplicate
the structure, but add an empty <email> element to the new xml document, so
it looks like this:
<list>
<member>
<lastname>Jones</lastname>
<firstname>Frank</firstname>
<email>frank@xxxxxxxxx</email>
</member>
<member>
<lastname>Smith</lastname>
<firstname>John</firstname>
<email></email>
</member>
</list>
Thank you in advance.
Rick Quatro
Carmen Publishing
585 659-8267
rick@xxxxxxxxxxxxxxx
www.frameexpert.com
|