[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|