You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Naveen Srinivasa Murthy <sm...@lycos.com> on 2001/05/08 16:35:28 UTC

Rename and Reuse existing nodes?

Hello friends,

I am parsing a document and picking up some nodes from it
and then constructing a new document with those nodes. There are
cases where, in the new document the nodes have the same tree
content but a different name.

for example, doc 1 has a node like
<name>
<first>rye
</first>
</name>

I have to transfer this node to a new document, with a
small change in the name of the node:
<businessname>
<first>rye
</first>
</businessname>

Is there any way i can 'rename' a node to have someother name
while keeping its tree of content the same?

Thanks
Naveen



Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org