Re: [xsl] Re: implements-prefix vs implements-namespace

Subject: Re: [xsl] Re: implements-prefix vs implements-namespace
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 6 Mar 2001 12:31:04 GMT
 
   > From: Jeni Tennison 

   > Do you even have to copy them? I don't know any processor that
   > randomly changes the prefixes of namespaces defined in the XSLT
   > stylesheet, 

   I do. M$. create a stylesheet to create a stylsheet.
   If you use namespace-alias stylesheet-prefix="out"
   then M$ change the result to xsl.
   Saxon Xalan don't.  They keep out as the prefix.
   (example, p 236, 'the book')

   Thats what tripped me up over the weekend.

   Mike Kay was saying its 'fluffy' in the spec.

   Regards DaveP

That isn't a "random change". The spec wasn't particularly clear over
whether the default behaviour when using namespace alias is to use
the original or aliased prefix. Some processors do one, some the other.
But since the output is equivalent, why do you care?

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