Numbering of nodes other than elements

The description of the "count" attribute throughout section 9.7 is worded as
if only element nodes can be matched and counted.

In most cases substituting "node" for "element" makes sense; the only
difficulty is, what should the default for the count attribute be if the
current node is not an element?

There ought to be some statement made about numbering of attributes: in my
view it is meaningless and should not be allowed.

Mike Kay

Received on Thursday, 20 May 1999 11:34:51 UTC