|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] XQuery in Web ApplicationWei, Alice J. ajwei at indiana.eduFri 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
======================================================
Alice Wei
MIS 2008
School of Library and Information Science
Indiana University Bloomington
http://x-query.com/mailman/listinfo/talk
________________________________________
From: Wolfgang [http://x-query.com/mailman/listinfo/talk]
Sent: Friday, March 07, 2008 3:32 PM
To: Wei, Alice J.
Cc: http://x-query.com/mailman/listinfo/talk
Subject: Re: 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
request="http://chausie.slis.indiana.edu:8080/exist/xquery/request";
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
documentation!
Wolfgang
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






