Hi
Is there a way to skip a portion of the dom tree during an xpath traversal?
[I can also change the xalan source code and submit a patch for this functionality.]
The dom tree that i am traversing is pretty big but one subtree is very expensive to traverse due to its size. The xpath queries don't normally require me to traverse that subtree so i want to skip it for normal xpath traversals.
The problem comes with // expressions or following:: or preceding:: expressions. the xpath engine starts traversing the whole dom tree and the efficiency is significantly reduced.
Can i put some restriction in the xpath engine for this?
Regards
Jaspreet
