[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Required item type of first operand of '/' is node
> If I may ask Michael, why the warning on namespaces? It's > probably a bit nutty, but I'm currently using them as a way > to highlight my XML! > > > > select="//x/*[local-name() = $name]/description" Because if $name is in the form "prefix:local" then this won't match anything. In principle you need to do separate tests on the local-name and the namespace URI. Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
|
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
|