From: Markus K. <mar...@bs...> - 2011-07-06 16:26:25
|
Sorry, taking it back, already solved the issue: the operator '<<' ended up working just fine. >>> "Markus Kaindl" <mar...@bs...> 6.7.2011 16:53 >>> Hy List, this is a rather basic XQuery / XPath question but it is giving me trouble nonetheless: I need to select nodes which are (in document order) preceding another already known node. I have already tried to use position() or the XPath 2.0 operator << but both dont work. Do I really have to count all the nodes (my document is rather big) and then access them via their position in the sequence? Because that seems unnecessarily complicated. There must be a simple way to just select nodes up to a certain node in the DOM, right? Cheers, Markus ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Exist-open mailing list Exi...@li... https://lists.sourceforge.net/lists/listinfo/exist-open |