cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Trivial Update of "HowtoQueryFromWebBrowser" by petefarmer
Date Sat, 27 Aug 2005 10:30:08 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by petefarmer:
http://wiki.apache.org/cocoon/HowtoQueryFromWebBrowser

------------------------------------------------------------------------------
   </map:components>
  }}}
  
- === Step 2: add a matcher to your sitemap.xmap ===
+ === Step 2: Add a matcher to your sitemap.xmap ===
  Add this to your {{{<pipeline>}}}:
  {{{
     <map:match pattern="sql">
@@ -71, +71 @@

     </map:match>
  }}}
  
- === Step 3: create sql.xsp ===
+ === Step 3: Create sql.xsp ===
  
- Copy and save as sql.xsp: (be sure to substitute the name of your pool, as configured in
{{{cocoon.xconf}}} in the {{{<esql:pool>}}} tag below)
+ Copy and save as {{{sql.xsp}}}: (be sure to substitute the name of your pool, as configured
in {{{cocoon.xconf}}} in the {{{<esql:pool>}}} tag below)
  
  {{{
  <?xml version="1.0" encoding="iso-8859-1"?>
@@ -148, +148 @@

  If it doesn't work, you may want to make sure that your database is configured properly
to sing and dance merrily with Cocoon.
  See [:SpecificDatabaseConnection]
  
- === Step 4: (optional) Post-process the results ===
+ === Step 4: (Optional) Post-process the results ===
  You may want to flatten your {{{<resultset>}}}, and collapes the XML elements returned
by the XSP generator into attributes of the {{{<result>}}} element. This may be convienient
if your are using other products in your software stack, or whatever. Otherwise, you're done.
Go outside and ride your skateboard!
  
  If you've decided you're not done, then add this line to the matcher {{{<map:match pattern="sql">}}}
in your {{{sitemap.xmap}}}:

Mime
View raw message