|
Subject: Re: [xsl] printing the input xml witha change in one of the tags and its value succesfully done From: Peter_Ivan@xxxxxxxxxxxxxxx Date: Tue, 22 Jul 2003 17:43:29 +0530 |
than you sir.
i have succesfully implemented my change.
thanks and rgds
Peter Ivan
Oleg Tkachenko
<oleg@xxxxxxxxxxxxx> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Sent by: cc:
owner-xsl-list@xxxxxxxxxxxx Subject: Re: [xsl] printing the input xml witha change in one of
rytech.com the tags and its value
07/22/03 01:41 PM
Please respond to xsl-list
Peter_Ivan@xxxxxxxxxxxxxxx wrote:
> 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
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: AW: [xsl] Sorting and re-orderi, Ragulf Pickaxe | Thread | [xsl] Need xml dir list by dc:title, hgadm |
| Re: [xsl] todays Date, Mike Brown | Date | RE: [xsl] Sorting and re-ordering d, McNally, David |
| Month |