Subject: Re: [xsl] Matching all elements in a namespace From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Sat, 07 Feb 2004 22:01:30 +0100 |
So, the obvious thing felt like something like...:
<xsl:template match="namespace-uri() = 'http://www.w3.org/TR/xhtml1/strict'">
<xsl:copy-of select="."/>
</xsl:template>
...and I've tried numerous variations over this theme over the past couple of weeks, but it doesn't "work".
You can only match on match pattern, not arbitrary XPath expressions. Try <xsl:template match=*["namespace-uri() = 'http://www.w3.org/TR/xhtml1/strict']">
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Matching all elements in a na, Kjetil Kjernsmo | Thread | Re: [xsl] Matching all elements in , David Carlisle |
[xsl] Matching all elements in a na, Kjetil Kjernsmo | Date | Re: [xsl] Apply Template based on p, Karl J. Stubsjoen |
Month |