> It would be easy to handle PIs and comments, but it is very difficult to handle >random context nodes.
Is it really? It seems to me that all you would need to do is walk up the list of ancestors of the context node up to the point where you encounter one of the ancestors of the node you're looking at. Then it's just a matter of putting the two paths together. I admit I may very well be missing something here, this is coming right off the top of my head without having given this any serious thoughts... -- Arnaud Le Hors - IBM, XML Standards Strategy Group / W3C AC Rep. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
