[xquery-talk] XQuery in Web Application

Wei, Alice J. ajwei at indiana.edu
Fri Mar 7 16:59:41 PST 2008

Hi, Woflgang:

   Thanks for your note. Must have been my misinterpretation of the function.
   I thought the modules in different examples I have seen over the xquery samples depends on the location of where the set of where the file is.

   To test out and see if I have any more errors, I tried putting it online at the directory where I work at, but now I only see the code and no HTML output. Is there a specific place of where we are intend to put these web application query files to have them be displayed?

I welcome any of you who can give me some tips on this.

Alice Wei
MIS 2008
School of Library and Information Science
Indiana University Bloomington
ajwei at indiana.edu
From: Wolfgang [wolfgang at exist-db.org]
Sent: Friday, March 07, 2008 3:32 PM
To: Wei, Alice J.
Cc: talk at x-query.com
Subject: Re: [xquery-talk] XQuery in Web Application

> I intend on turning the code below into a web interface so I could
> search through my database collections. I used Saxon to debug my
> errors, and it apparently is giving me something like this in the
> following:
> F [Saxon9B XQuery] Cannot find a matching 1-argument function named
> {http://chausie.slis.indiana.edu:8080/exist/xquery/request}get-parameter()

This is an eXist-specific function as can be seen from the namespace URI
(which is completely wrong btw). If you want to test queries on
different implementations you have to stick to those functions defined
in the specs (http://www.w3.org/TR/xpath-functions/).

 > declare namespace

1) the URI is wrong and 2) you should use an import:

import module namespace request="http://exist-db.org/xquery/request";

Please consult the many examples provided in the distribution and the


More information about the talk mailing list