View Single Post
  #4 (permalink)  
Old January 18th, 2005, 11:08 AM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Creating the intermediate tree is no problem in XSLT 1.0. But the resulting type is "result tree fragment" and 1.0 has severe restrictions on how you can process an RTF. This is why the xx:node-set() extension was invented, to "convert" the RTF to an ordinary node-set (the root node of a tree).

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Reply With Quote