xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kröger <ZeS...@zesolo.net>
Subject AW: XML-RPC and ASP - xpath query question
Date Fri, 07 Jun 2002 11:24:50 GMT

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

XPath should be OK!

> >
> > 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
> 


Is it possible, that you forgot some params?
If your query a document, the method wants 5 params:
collectionName,
type,
query,
namespaces and
id!

Daniel

Mime
View raw message