RE: [xsl] Processing an xml catalog in xslt

Subject: RE: [xsl] Processing an xml catalog in xslt
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Tue, 29 Jun 2004 15:42:28 +0300
Hi,

> you even could put the default namespace of the stylesheet to 
> xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog", and then 
> match="rewriteURI" should just work. 

Nope, See <http://www.w3.org/TR/xpath#node-tests>:

"A QName in the node test is expanded into an expanded-name using the namespace declarations from the expression context...except that the default namespace declared with xmlns is not used: if the QName does not have a prefix, then the namespace URI is null..."

Cheers,

Jarno - Kristian: Psylence

Current Thread