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:20:40 GMT
> Do you even have to copy them? I

Sometimes.

If you need to have a namespace dec that doesn't correspond to
any element or attribute name in the result, but to a QName (typically,
and Xpath) in (say) an attribute value.

If you've just written out
<foo select="x:bar"/>
as a literal result template, you might need to copy a namespace
node with name x to ensure the output has a binding for that prefix.

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