Subject: Re: [xsl] printing the input xml witha change in one of the tags and its value From: Oleg Tkachenko <oleg@xxxxxxxxxxxxx> Date: Tue, 22 Jul 2003 10:11:56 +0200 |
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.
It's a faq, see http://www.dpawson.co.uk/xsl/sect2/identity.html. <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> <xsl:template match="tag13"> <tag13>new value</tag13> </xsl:template> -- Oleg Tkachenko http://www.tkachenko.com/blog Multiconn Technologies, Israel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] printing the input xml witha , Peter_Ivan | Thread | RE: [xsl] Ho do you format arbitrar, David . Pawson |
RE: [xsl] Ho do you format arbitrar, David . Pawson | Date | Re: [xsl] inheritance and encapsula, Jeni Tennison |
Month |