Re: [xsl] Replace string in encoded xml in element tag

Subject: Re: [xsl] Replace string in encoded xml in element tag
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 30 Dec 2003 19:49:28 -0800
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.prasad@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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">&lt;Diagram&gt;&lt;Node id="n1"
> name="name1"/&gt; &lt;/Diagram&gt;</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.prasad@xxxxxxxxxx
> 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


Current Thread