You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Fab Psycho <ps...@hotmail.com> on 2005/04/25 21:33:33 UTC

form template called from xsl

Hi,
        I'm using a global xsl in my site to render all xml features and I'd 
like to include some forms.

I've got this map sample's working for one form :

<map:match pattern="myform1">
  <map:generate src="myform1template.xml"/>
  <map:parameter name="form-definition" value="myform1.xml"/>
  <map:parameter name="attribute-name" value="form1"/>
  <map:transform type="forms"/>
  <map:transform type="i18n">
    <map:parameter name="locale" value="en-US"/>
  </map:transform>
  <map:transform src="resources/forms-samples-styling.xsl"/>
  <map:serialize/>
</map:match>

What's the best method to use in order to have that form in my final html ?
       -Call it after flow->sendpage ?
       -include it from xsl ?
       -Don't use form specifications and work with usual <input type .... ?

Thanks in advance,
Fab

_________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org