I want all nodes of an xml document that are not descendants of nodes X.

(My actual problem is a little more complex, but I'm stuck with the "are not descendants" part right now).

Edit
Report