Hi Pooran,
Before answering your question, I would like to know if there are any
reasons why you have choosen to have an xml as a string ?
Is there any reason why you couldnt have a structure like
<?xml version="1.0" encoding="UTF-8"?>
<application>
<diagram attr="value">
<Diagram>
<Node id="n1" name="name1"/>
</Diagram>
</diagram>
</application>
BRgds
Vasu
----- Original Message -----
From: "pooran prasad" <pooran(_dot_)prasad(_at_)itreya(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, December 30, 2003 1:59 AM
Subject: [xsl] Replace string in encoded xml in element tag
Hi All,
I have a scenario like this
<application>
<diagram attr="value"><Diagram><Node id="n1"
name="name1"/> </Diagram></DIAGRAM>
</application>
The 'diagram' tag has encoded xml. I want to replace a string inside
this encoded xml.
How to replace 'name1' to 'name2'?
Thanks and regards,
R. Pooran Prasad
Itreya Technologies Pvt Ltd.,
Mail: pooran(_dot_)prasad(_at_)itreya(_dot_)com
Phone(Off) : +91 80 5200179 Extn: 51
Mobile: +91 98860 29578
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list