cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Beuter <Bjoern.Beu...@arxes.de>
Subject (Kweelt) KSP-processing, Query XML
Date Tue, 05 Dec 2000 15:55:09 GMT
Hi,

I have a great problem to query an XML-file with the 'Kweelt' -
implementation of a quilt-processor for xml-files (look at:
http://db.cis.upenn.edu/Kweelt/ )

It seems that xml containing kweelt query is first processed
by cocoon then transfered to kweelt processor. So the quilt query: 
...document("a file") ...
returns an exception: "document ... not found"
I am really confused

I use Cocoon 1.8 with Apache 3.1.2 and Tomcat 3.1 on WinNT.

------------Here is my simple query-------------------:

<?xml version="1.0"?>
<?xml-stylesheet href="kweelt.xsl" type="text/xsl"?>
<?cocoon-process type="kweelt"?>
<?cocoon-process type="xslt"?> 
<?cocoon-format type="text/xml"?>
<top>
<kweelt>
  <kweelt-query><![CDATA[
<results>
FOR $items IN 	document("file:///D:/kweelt/project_ksp2.xml")//projekt
		WHERE contains($items/pname, "Btlas_ES_2")
		RETURN $items
</results>]]>
</kweelt-query>
</kweelt>
</top>
-----------------end of query ---------------------------

The file "project_ksp2.xml"  is located on the same server

Has anybody a solution or ever tried to use the Kweelt KSP-processor??

Than you for any help!

regards 
Bjoern Beuter

mailto:Bjoern.Beuter@arxes.de

Mime
View raw message