Charles Yeomans wrote:
> As far as I can tell, an XQL query like "/root/node[0]" should return  
> the first occurrence of <node>...</node> -- but it does not.  To get  
> the first occurrence, I need to use "/root/node[1]".  Do I  
> misunderstand XQL, or am I facing a Real Software dialect of XQL?

As far as I know, the XQL is passed directly to the underlying Sablotron 
  lib, so RB would be as "spec compliant" as Sablotron, which has been 
pretty accurate in my experience.

As far as your issue, i am pretty sure its 1-based and not 0-based, so 
the behavior you are seeing is correct.  I have seen a tutorial or two 
online get this wrong, but others get it right and i think the spec 
confirms it (but thats from memory).

-stephen


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to