cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Newbie: Searching with html form parameters
Date Thu, 15 Apr 2004 20:35:57 GMT
On 14.04.2004 08:50, Nina Juliadotter wrote:

> What I have is an HTML form where the user can enter some search criteria and submit
> this, and get back all xml documents matching this (the documents all conform to a
> certain XML schema, so the elements in it are known). For example, there is an
> <input type="text" name="street"> where the user can enter the street name, and
get
> back all XML documents that have a "street" element with the same value as the one
> supplied by the user.
> 
> In a "normal" servlet/jdbc environment (relational database), this is so straight
> forward, but how would I ideally go about doing this in Cocoon? I've glanced at
> Xindice and Cocoon's Lucene, but it all seems so complicated that I'm starting to
> think I'm not looking in the right direction.

Hmm, doing this with XIndice might be straight forward too, as you only 
have to translate all the request parameters into an XPath. There are 
XIndice samples in the xmldb block.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message