Re: [xsl] Can one element have more than one namespaces?

Subject: Re: [xsl] Can one element have more than one namespaces?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 27 Mar 2001 10:28:17 +0100
> 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


Current Thread