Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 96098 invoked by uid 500); 9 Nov 2002 20:27:38 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 96087 invoked from network); 9 Nov 2002 20:27:38 -0000 Message-ID: <2CB090FC30192549B04101547F33E93F0E3FF70D@exegrnnts005.seattleu.edu> From: "Lenz, Evan" To: "' (cocoon-users@xml.apache.org)'" Subject: Testing for the *presence* of a particular request parameter Date: Sat, 9 Nov 2002 12:25:39 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I need to test for the presence of a particular request parameter. In particular, I want to write my sitemap such that the following URLs will behave as described: /search -> loads the search page /search?q=blah -> displays search results /search?q= -> empty results, or the search page itself (don't care) I know how to use the request-parameter selector (which tests for particular parameter *values*), but I don't know how to test for the *presence* of a particular parameter (or to test for a non-empty value). Can request-parameter do this, or do I need to use something else? Thanks, Evan --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: