[jdom-interest] XPath.selectNodes(doc) via Jaxen: nodes not in document-order

Per Norrman per.norrman at austers.se
Mon Aug 16 04:52:24 PDT 2004


Hi,

Using Saxon 7.9.1, this XQuery

xquery version "1.0";

<out>
   {
     doc('source.xml')//w
   }
</out>

produces this outout:

<?xml version="1.0" encoding="UTF-8"?>
<out>
    <w no="1">word1</w>
    <w no="2">word2</w>
    <w no="3">word3</w>
    <w no="4">word4</w>
</out>

To nail this down, ask in http://www.mulberrytech.com/xsl/xsl-list/index.html
what the correct result should be, then go beat on jaxen (perhaps).

/pmn



More information about the jdom-interest mailing list