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

printing the input xml witha change in one of the tags

Subject: printing the input xml witha change in one of the tags and its value
From: Peter_Ivan@xxxxxxxxxxxxxxx
Date: Tue, 22 Jul 2003 12:31:00 +0530
xml printing
Dear sir/madam,

I have a problem while using XSL.
i have an xml message which contains a tag let us say that tag is tag13.I
want to only change the value of the tag13 but print the rest of the input
as it is.
I dont know the structure of the input xml, or where and how many times the
tag13 is comming in the output.
Let me explain my problem using an example.

this is the input xml
<tag1>
<tag2>
    ...
    <tagq>asdsd</tagq>
    <tag13>Hello</tag13>
....
</tag2>
</tag1>

the output xml should be
 <tag1>
<tag2>
    ....
    <tagq>asdsd</tagq>
    <tag13>12343</tag13>
....
</tag2>
</tag1>

with Hello being replaced.
Iam unable to use copy of selct which i earlier had used for copying the
whole xml.

I hope you could find a solution for it.

thanks and rgds
Peter Ivan


 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.