cocoon-users mailing list archives

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

I have a great problem to query an XML-file with the 'Kweelt' -
implementation of a quilt-processor for xml-files (look at: )

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"?>
FOR $items IN 	document("file:///D:/kweelt/project_ksp2.xml")//projekt
		WHERE contains($items/pname, "Btlas_ES_2")
		RETURN $items
-----------------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!

Bjoern Beuter

View raw message