|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: namespace axis
>> >> Would the local-name(),name() or namespace() methods give the results you >> need, perhaps working up through the ancestor axis ? > >Actually, name() should give the prefix, while the node value is the >namespace name. At least this is what Saxon does... > Yes but I think the point is that for almost all conceivable uses you can get all the namespace information you need by applying namespace-uri() to the element and attribute nodes that you are interested in, rather than accessing the namespace nodes. The only time (normally) that you need the namespace node is to get access to namespace declarations for namespaces that are not used directly in the document. Perhaps they just appear for the use of xpath expressions in attribute values, for example. That is the only time I've used the namespace axis: when the input document is itself an xsl stylesheet. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








