Re: an xpath/xsl question: why must (a QName in an) argument be apathexp
> Aha. Ok. So that is, in fact, the nature of the XPath-World. Still, I'm > surprised that QNames, as important as they are, then cannot be passed > to functions. So be it. Functions that need to see a name (such as id() which needs the id name, which is a QName) take them as strings, thus it's id('foo:bar') not id(foo:bar) the latter is legal of course, but looks up the ID with name given by the string value of the element node selected by foo:bar rather than the former, which looks up the ID foo:bar. David _____________________________________________________________________ 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
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