ivelin 2002/09/22 20:56:42 Modified: src/webapp/samples/xmlform sitemap.xmap Log: minor update Revision Changes Path 1.10 +16 -6 xml-cocoon2/src/webapp/samples/xmlform/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/xmlform/sitemap.xmap,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- sitemap.xmap 21 Sep 2002 22:57:19 -0000 1.9 +++ sitemap.xmap 23 Sep 2002 03:56:42 -0000 1.10 @@ -71,12 +71,22 @@ <map:parameter name="xmlform-scope" value="session"/> <map:parameter name="xmlform-model" value="org.apache.cocoon.samples.xmlform.UserBean"/> - <!-- Content transformation logic --> - <map:generate src="wizard/{page}.xml"/> - <map:transform type="xmlform" label="debug, xml"/> - <map:transform src="stylesheets/wizard2html.xsl"/> - <map:transform src="context://samples/stylesheets/xmlform/xmlform2html.xsl"/> - <map:serialize type="html"/> + + <!-- original XMLForm document --> + <map:generate src="wizard/{page}.xml"/> + + <!-- populating the document with model instance data --> + <map:transform type="xmlform" label="debug, xml"/> + + <!-- personalizing the look and feel of the form controls --> + <map:transform src="stylesheets/wizard2html.xsl"/> + + <!-- Transforming the XMLForm controls to HTML controls --> + <map:transform src="context://samples/stylesheets/xmlform/xmlform2html.xsl"/> + + <!-- sending the HTML back to the browser --> + <map:serialize type="html"/> + </map:act> </map:match> </map:pipeline>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]