Re: [xsl] How to get namespace using prefix

Subject: Re: [xsl] How to get namespace using prefix
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 14 Sep 2004 13:48:44 +0100
>>>>> "David" == David Carlisle <davidc@xxxxxxxxx> writes:

    David> <xsl:value-of select="namespace::intf"/>

or in 2.0 (the above is guaranteed to work in 2.0, as the namespace
axis is deprecated, and processors are not required to support it (and
at least one does not do so)):

<xsl:value-of select="namespace-uri-for-prefix(intf, element)"/>

-- 
Colin Paul Adams
Preston Lancashire

Current Thread