xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurapati, Rama" <Rama.Kurap...@labbook.com>
Subject RE: Rename and Reuse existing nodes?
Date Tue, 08 May 2001 15:35:02 GMT
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:smnaveen@lycos.com]
Sent: Tuesday, May 08, 2001 10:35 AM
To: xerces-j-user@xml.apache.org
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: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org

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


Mime
View raw message