[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Which patterns will select the root node?
> node() matches the root node, for example in the following > XPath expression: > > ancestor::node() But ancestor::node() is not a valid match pattern. In XSLT 1.0, the only pattern that matches the root node is "/". In XSLT 2.0, you can use patterns of the form document-node()[predicate]. Michael Kay http://www.saxonica.com/
|
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
|