Newbie Question...

I have a pipeline defined below and want to pass the servlet param xmltest to cocoon.  
how is this done??  I'm opening a url connection to
  http://.../cocoon?command=?&xmltest=cdcatalog   I'm not sure what the command should 
be or if this is right??

thanks jim

  <map:pipeline>
    <map:match pattern="tmp.html"> 
      <map:select type="request">
         <map:parameter name="parameter-name" value="xmltest"/>
         <map:when test="cdcatalog">
            <map:generate src="C:/cd_catalog.xml"/>
            <map:transform src="C:/cd_catalog.xsl"/>
         </map:when>
         <map:otherwise>
            <map:generate src="C:/cd_catalog.xml"/>
            <map:transform src="C:/cd_catalog1.xsl"/>
         </map:otherwise>
      </map:select> 
      <map:serialize type="html"/> 
    </map:match> 
  </map:pipeline>


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

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

Reply via email to