Operations on result tree fragments

12.1 says that the operations permitted on a result tree fragment are a
subset of those permitted for a node set, but it does not say precisely what
set of operations is permitted, or give the rules for them.

For example, where $val is a result tree fragment, it does not explicitly
say that @name=$val is a permitted operation; and if this operation is used,
it does not say how it proceeds. The "natural" approach is to convert $val
to a string and compare it as such, but I can't see anything in the spec
that justifies this.

(Unfortunately the fact that fragments aren't recognised by XPath means that
many of these rules are not in their natural place).

Mike Kay

Received on Tuesday, 27 July 1999 07:18:49 UTC