I am looking at a driver that has a stylesheet in the Sub-Event transform.

For whatever reason, which I do not get, they query for a bunch of attrs
into a variable $result, and then they XPATH out with:
$result/nds/output/instance[1]/attr[@attr-name] and so on...

That seems like bad XPATH.

In DirXML Script I know that would not work as the current context node
is the operation (<instance> in this case) and using /nds/output will
not work.

But I am not sure of XPATH in XSLT. Do the same rules apply?