You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2003/04/09 13:00:04 UTC

[WIKI-UPDATE] Generator GET-snippets StreamGenerator Wed Apr 9 13:00:04 2003

Page: http://wiki.cocoondev.org/Wiki.jsp?page=Generator , version: 8 on Wed Apr  9 10:58:11 2003 by TimGoodwin

- * Stream Generator -- reads XML document from POST request (either as a named form parameter, or the request body), document is parsed and presented to pipeline
+ * [Stream Generator] -- reads XML document from POST request (either as a named form parameter, or the request body), document is parsed and presented to pipeline
?   +                +



Page: http://wiki.cocoondev.org/Wiki.jsp?page=GET-snippets , version: 14 on Wed Apr  9 10:34:54 2003 by Scherler

+ }}}
+ ''The following XPath expression selects all the cd elements of the catalog element that have a price element:''
+ {{{
+ /catalog/cd[price] 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=StreamGenerator , version: 2 on Wed Apr  9 10:57:22 2003 by TimGoodwin

+ 
+ This example extracts the form control named {{text}} from the POSTed form data, and parses it as XML.
+ 
+ The POSTed data must come from a form (that is, it must have MIME content type of {{application/x-www-form-urlencoded}}).