[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Namespaces and XML -Resolved


Subject: Re: [xsl] Namespaces and XML -Resolved
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 20 Apr 2001 00:06:12 +0100

>   I
> didn't realize I needed to actually put some bogus useless address in there
> instead of a real thing.

The namespace URI _is_ a real thing: It's the name of the namespace.
So you have to use the same namespace name in the stylesheet as appears
in the source. (The source namespace may be affected by defaulr
attribute declarations in the DTD). If you specify a different namespace
name (even if you give it the same prefix) then your stylesheet
templates will not match.

David
 

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread