This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Can one element have more than one namespaces?



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]