It seems that I made something unclear. The nodeset that I'm working
with is a subset of my data. This adds a significant level of
complexity
to the problem. Micheal's suggestion of testing count(key(...)) !=
count(/*/branch) is great except that key returns too many elements
since it takes in the whole document, not my subset.
I suspected as much. But sometimes the best way of making progress is to
answer the question people ask, so they can then discover that they
asked the wrong question...
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list