Subject: [xsl] Identify node with variable and replace its value / mode problem From: Andreas Gehret <andreas@xxxxxxxxxxxxxx> Date: Fri, 09 Jan 2004 18:34:04 +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] About source-attributes i, Martinez, Brian | Thread | RE: [xsl] Identify node with variab, Lars Huttar |
RE: [xsl] About source-attributes i, Martinez, Brian | Date | RE: [xsl] Identify node with variab, Lars Huttar |
Month |