> I am, however, lacking that final piece of the puzzle that 
> ties it all together. An example!
> 
> Has anyone got a SIMPLE working example of an action, that 
> they would post to the list? Preferably something that 
> returns XML that can be used in XSL/serializer.

Normally Actions don't return anything. They aren't used for creating
XML Data tha shall be displayed on the screen. An action is itended to
do something, for example create (validate) a user session, or for
example od a database update or add an item to a shopping cart wich is
placed in the session. The return value (which is sitempa params) can
just be used in the sitemap.

If you really need to use the action to generate xml data, there's a way
to. You could generate an XMLFragment and put it into the Session or
request ob jetc by using setAttribute(). Late in your xsp page you can
retrieve this object an put it into your page.

Hope this helps.

bye


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to