> I’ve tried connecting to the server at
>
http://localhost:8080/exist/xmlrpc/db/edc_test however this yields the same
> results as connecting to
http://localhost:8080/exist/xmlrpc and returns all
> matching records regardless of collection.
Yes, that's the expected behaviour. Maybe you are confusing XMLRPC
with REST? The XMLRPC service responds to exactly one URL, which is
http://localhost:8080/exist/xmlrpc. The rest of the path has no
relevance and is simply ignored by the XMLRPC library.
> I have been able to successfully limit my results by writing xqueries like
>
> for $x in collection("/db/edc_test")//root/element where $x/@name="two"
> return $x
Yes, that's the way to do it. You should consider using REST if you
want your query to depend on the context path. Normally it's not a
problem to mix REST and XMLRPC in the same app.
Wolfgang
------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open