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}}).
