Subject: Re: count following-sibling node()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 15 Nov 2008 20:23:05 GMT
|
> Attributes are nodes, but node() doesn't match attribute nodes.
true but that's nothing to do with the node() test, just that attributes
are not in the child axis. A pattern of node() doesn't math attribute or
docuement nodes because it is short for child::node() and attributes and
/ are not on the child axis. attribute::node() mactes attributes nodes.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
|