You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by Apache Wiki <wi...@apache.org> on 2005/09/03 15:47:29 UTC

[Cocoon Wiki] Trivial Update of "HowtoQueryFromWebBrowser" by PeteFarmer

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

The comment on the change is:
fixed a few typos

------------------------------------------------------------------------------
    <uid>sonny</uid>
    <name>Sonny Barger</name>
   </result>
- <resultset>
+ </resultset>
  }}}
  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 ===
- 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!
+ You may want to flatten your {{{<resultset>}}}, and collapse 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}}}:
  {{{
@@ -191, +191 @@

   <result recnum="1" uid="pete" name="Pete Farmer"/>
   <result recnum="2" uid="bob" name="Robert Vesco"/>
   <result recnum="3" uid="sonny" name="Sonny Barger"/>
- <resultset>
+ </resultset>
  }}}
  
  which, depending on your application, may be more useful.
@@ -201, +201 @@

  That's all. Finito. What do you want for nothing?
  ----
  ===  page metadata ===
- - AUTHOR:petefarmer[[BR]]
+ - AUTHOR:PeteFarmer[[BR]]
  - AUTHOR-CONTACT: mailto:pete.farmer@gmail.com[[BR]]
  - REVIEWED-BY:[[BR]]
  - REVIEWER-CONTACT:[[BR]]