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

Re: Re: implements-prefix vs implements-namespace

Subject: Re: Re: implements-prefix vs implements-namespace
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 6 Mar 2001 13:43:05 GMT
Re:  Re: implements-prefix vs implements-namespace
> - I don't think it says anywhere explicitly that the
> namespace prefixes on the copied namespace nodes have to stay the
> same?

Yes because that's the _name_ of the node in that case.

This is clarified a bit in 
http://www.w3.org/1999/11/REC-xslt-19991116-errata/ (E25)

>  So I'd write the above:
>
>  <foo select="x:bar" xmlns:x="http://www.baz.com" />

ah but what if that was
 <foo select="{$x}" ...../>
where x was set from wherever, then filling in your ... gets to beinteresting.

> (or more probably declare the namespace on the xsl:stylesheet element
> to get it to be in scope throughout the document).

again. assuming you know the namespace when writing the sheet.

David

(there's an xsl:namespace suggestion in the 2.0 req's to make this easier)

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 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.