Hi,

May be you could try "xpath" instead of "XPath". It's just a guess based
on xpath URL quiery syntax.

Roman

colle wrote:

> Hello,
>
>  <?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" />
>
> I� am trying to publish documents stored in xindice on an asp webpage.
> I use the asp xmlrpc implementation from David Carter-Tod
> (http://www.wcc.vccs.edu/dtod/XMLRPC/). I managed to make a connection
> (getdocumentcount), but running an xpath query didn�t work. (I've
> already checked that query result isn't empty) Also, there isn�t an
> error message when I ran the query.
>
> What am I doing wrong?
>
> Code:
>
> <!--#include virtual="xmlrpcasp/code/xmlrpc.asp" -->
>
> <%
>
> Dim paramList(1)
>
> paramList(0)="/db/test"
>
> myresp = xmlRPC ("http://localhost:4080";, "db.getDocumentCount",
> paramList)
>
> Response.Write "<p>" & myresp & "</p>"
>
> Dim para(4)
>
> para(0)="/db/test"
>
> para(1)="XPath"
>
> para(2)="/nitf/head"
>
> myresp2 = xmlRPC ("http://localhost:4080","db.queryDocument";, para)
>
> Response.Write "<b>" & myresp2 & " </b>"
>
> %> Thanks,Arnoud

Reply via email to