[xsl] printing the input xml witha change in one of the tags and its value

Subject: [xsl] 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
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