[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Replace string in encoded xml in element tag

Subject: Re: Replace string in encoded xml in element tag
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 30 Dec 2003 19:49:28 -0800
xsl replace string
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.