Re: Pattern "node()" and document nodes
On Thu, Feb 25, 2010 at 9:27 PM, Florent Georges<lists@xxxxxxxxxxxx> wrote:Could someone confirm that the pattern "node()" matches a document node?
Mukul's code shows that the node test node() is true for document nodes, but the pattern node() doesn't match document nodes for the same reason that the xpath expression node() doesn't select document nodes.
in both cases they are abbreviations of child::node() and document nodes are never children.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
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