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

Re: Questions on the new XSL spec (section 2.7.12)

Subject: Re: Questions on the new XSL spec (section 2.7.12)
From: James Clark <jjc@xxxxxxxxxx>
Date: Thu, 31 Dec 1998 08:37:35 +0700
xsl namespace name
"G. Ken Holman" wrote:
> 
> At 98/12/29 13:01 +0700, James Clark wrote:
> >There's no way to do this currently.  To handle this, you would need a
> >pattern that matched namespace nodes, and an element that created
> >namespace nodes, so you could do something like:
> >
> ><xsl:element name="{name(.)}">
> >  <xsl:for-each select="namespace()">
> >    <xsl:namespace name="{name(.)}">
> >       <xsl:value-of select="."/>
> >    </xsl:namespace>
> >  </xsl:for-each>
> ></xsl:element>
> 
> I found this very helpful ... but I can't find either name() or namespace()
> documented in the WD.  Are these (and any others?) proposed for the next
> WD?  Is there any confidence in their being accepted?

name() is in the WD. namespace() and xsl:namespace aren't, and haven't
yet been formally proposed.  Another way to handle this is to model
namespace nodes as attribute nodes by making up a magic namespace URI
for the xmlns prefix.

James


 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.