xsl-list
[Top] [All Lists]

AW: Processing an xml catalog in xslt

2004-06-29 07:14:18
-----Ursprüngliche Nachricht-----
Von: Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com 
[mailto:Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com]
Gesendet: Dienstag, 29. Juni 2004 14:42
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: RE: [xsl] Processing an xml catalog in xslt


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


ya, sorry. i mixed it up using the default namespace for output elements...

regards
chris



<Prev in Thread] Current Thread [Next in Thread>