[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Kjetil Kjernsmo wrote:
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] Matching all elements in a namespace
Subject: Re: [xsl] Matching all elements in a namespace From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Sat, 07 Feb 2004 22:01:30 +0100 |
Kjetil Kjernsmo wrote:
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']">
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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 |
Keywords