This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Can one element have more than one namespaces?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Can one element have more than one namespaces?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 27 Mar 2001 10:28:17 +0100
- References: <9B66BBD37D5DD411B8CE00508B69700F4F054B@pborolocal.rnib.org.uk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Can't the namespace axis be used for this purpose?
perhaps, but remember that the namespace axis is in scope namespaces not
namespaces declared on that element so in
<a:x xmlns:a="xxx" xmlns:b="yyyy">
<a:x/>
</a:x>
then both occurrences of the element with local name x are in the
namespace xxx and both have three namespace nodes, with names
xml a and b, and values http://www.w3.org/XML/1998/namespace, xxx
and yyyy respectively.
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