This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XPATH for attribute with different namespace from element
- From: Edward dot Middleton at nikonoa dot net
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 4 Feb 2002 18:08:12 +0900
- Subject: RE: [xsl] XPATH for attribute with different namespace from element
- Reply-to: xsl-list at lists dot mulberrytech dot com
>> <xsl:template match="rdf:RDF/channel/@rdf:about">
> ^^^^
> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:rss="http://purl.org/rss/1.0">
>...
> <xsl:template match="rdf:RDF/rss:channel/@rdf:about">
Thanks for the help and I thought that might be the problem, but I tried
rdf:RDF/:channel
and it matched the channel successfully but
rdf:RDF/:channel/@rdf:about
wouldn't match the @rdf:about
I wanted to know if it was possiable to do it without redefining the default namespace.
Edward
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list