Hi All, I am getting the error "element nodes cannot have binary node children",
here is my query : import module namespace search = "http://marklogic.com/appservices/search" at "/MarkLogic/appservices/search/search.xqy"; let $options := <options xmlns="http://marklogic.com/appservices/search"> <constraint name="price"> <range type="xs:float" > <element ns="" name="price" /> <bucket name="test" ge="148" lt="150" > Costly </bucket> </range> </constraint> <transform-results apply="raw" /> </options> return search:search("price:39.98", $options) Error: [1.0-ml] XDMP-CHILDNODEKIND: $result -- element nodes cannot have binary node children Stack trace: in /MarkLogic/appservices/search/search-impl.xqy line 910: impl:do-query("price:39.98", <options xmlns=" http://marklogic.com/appservices/search"><constraint<http://marklogic.com/appservices/search%22%3E%3Cconstraint>name="price"><range type="xs:float"><element ns="" n...</options>, (), 1, (), false()) can you tell me what is the problem.
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
