[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT 1.0 question on keys for namespace nodes
All node types including namespace nodes can be passed to generate-id() function -- would have been nice to be able to get back to all node types by <xsl:key name="nodes-by-genid" match="/ | node() | @* | namespace::*" use="generate-id()" /> I'm afraid I've rather forgotten exactly what it is you are trying to do - but any stylesheet that touches all the namespace nodes in a document is likely to be very inefficient, because there are so many of them, and because they will probably be materialized only when touched. Indexing all the namespace nodes would be even more inefficient (if it were allowed) because each namespace node would then almost certainly occupy a non-negligible amount of memory. Michael Kay Saxonica
|
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
|