[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: More namespace fun?

Subject: RE: More namespace fun?
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Fri, 10 Mar 2000 14:48:10 -0000
long namespace
 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.