> Question one is: how to get this rote's parent rotes
without hard coding and
> recursion?
Do you mean PARENT (singular: there can be only one), or
ANCESTORS?
Either way, have a look @ xpath's concept of AXES:
http://www.zvon.org/xxl/XPathTutorial/Output/example13.html
> Question two is: how make my search function to search
the rote with one more
> argument? I.e. rote with argument name=roteName and
argument status=visible.
You can do this:
[@colour='green' and @animal='marmoset']
This is worth reading:
http://www.w3schools.com/xpath/default.asp
--
Adam