OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XSLT and default namespaces

[ Lists Home | Date Index | Thread Index ]

> XSLT's handling of namespaces seems to be the bane of my life.

Namespaces were invented because someone was worried that XML was too
simple...

> Is it possible to extract the 
> value of the default namespace when the element to which it 
> is attached is in another namespace (as here)? I am using XSLT 1.0.


<xsl:value-of select="namespace::*[name()='']"/>

Michael Kay





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS