Next in thread → Next in month →

RE: [xml-dev] XSLT and default namespaces

From
Michael Kay <>
To
'Paul Spencer' <>, 'Xml-Dev' <>
Date
2003-09-02T08:25:54Z
ID
<000701c3712b$d3bdce70$6401a8c0@pcukmka>
Thread
RE: [xml-dev] XSLT and default namespaces
> 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
Next in thread → Next in month →