RE: More namespace fun?

Subject: RE: More namespace fun?
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Fri, 10 Mar 2000 14:48:10 -0000
 David Carlisle
>well grep agrees with me that it isn't used 
>(if we are talking about the same file)

Yes we are :-(
Just as I thought. 
{Sound of head hitting basket}

>
>
>change your template to
>
><xsl:for-each select="namespace::*">
> NS name: <xsl:value-of select="name(.)"/>
> NS value : <xsl:value-of select="."/>
></xsl:for-each>
>
></tag>

Far more interesting.
So, for instance the para tag has
a whole host of namespaces 'attached' to it.

E.g. 
NS name: ns1
 NS value : http://ns1.com
 NS name: ns3
 NS value : http://ns3.com
 NS name: long
 NS value : A long namespace uri

I may as well keep on with the daft questions.

I know this is a contrived example, but
what earthly use is this information?
I also note that the namespaces are provided
in document order, almost the reverse of
any interest that I might have in them.

Regards, DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread