Subject: RE: [xsl] XPATH for attribute with different namespace from element From: Edward.Middleton@xxxxxxxxxxx Date: Mon, 4 Feb 2002 18:08:12 +0900 |
>> <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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XPATH for attribute with , Joerg Pietschmann | Thread | [xsl] testing for matches, Ilyasov Jienbay |
RE: [xsl] keep properties, DPawson | Date | [xsl] CALS tables, Andrew Welch |
Month |