Naveen You can use XSLT for the mentioned scenario. I can view it(renaming) as transformation.
regards Rama -----Original Message----- From: Naveen Srinivasa Murthy [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 10:35 AM To: [EMAIL PROTECTED] Subject: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]