Subject: [xsl] replacing a node value identified by a variable From: Andreas Gehret <andreas@xxxxxxxxxxxxxx> Date: Fri, 09 Jan 2004 00:16:57 +0100 |
<xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template>
<xsl:template match="/newspage/news[@id='1']/title"> <title>replace title</title> </xsl:template>
<xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template>
<xsl:template match="title"> <title>replace title</title> </xsl:template>
<xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template>
<xsl:template match="title" mode="replace"> <title>replace title</title> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Obtaining a list of uniqu, Vasu Chakkera | Thread | RE: [xsl] Obtaining a list of uniqu, Sasa Cekrlija |
Re: [xsl] mixture of XML and HTML i, Julian Reschke | Date | [xsl] Following order & format spec, Mulberry Technologie |
Month |