Subject: AW: Processing an xml catalog in xslt
From: <christof.hoeke@xxxxxxx>
Date: Tue, 29 Jun 2004 16:14:18 +0200
|
> -----Ursprüngliche Nachricht-----
> Von: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
> Gesendet: Dienstag, 29. Juni 2004 14:42
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: RE: 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
|