Hi, can someone help me here. Below is my pipeline which works fine, but now
I need to do some further processing.
All of the xsp sheets retrieve results from a database, these are then
passed through the filter transformer to limit the amount of data being
delivered.
What i need to do now is to strip out some unwanted content from the data
before filtering (html tags in fact). I would like to use a java class to do
this. What must I do to implement further processing on the generated
output. I am using esql in the xsp's so I cannot do any further processing
at this stage as I cannot get at the generated data until the next stage in
the pipeline.

<map:pipeline>

   <!-- Handle image files -->
   <map:match pattern="myGP/images/*.wbmp">
    <map:read src="myGP/images/{1}.wbmp" mime-type="image/vnd.wap.wbmp"/>
   </map:match>


   <map:match pattern="myGP/*.xml">
    <map:generate src="myGP/{1}.xml"/>
      <map:transform src="myGP/stylesheets/{1}.xsl"/>
     <map:serialize type="xml"/>
   </map:match>

   <map:match pattern="myGP/xsp/*">
     <map:generate type="serverpages" src="myGP/xsp/{1}.xsp"/>
     <map:act type="request">
       <map:parameter name="parameters" value="true"/>
       <map:transform type="filter">
        <map:parameter name="element-name" value="row"/>
        <map:parameter name="count" value="10"/>
        <map:parameter name="blocknr" value="{blocknr}"/>
     </map:transform>
   </map:act>
   <map:select>
      <map:when test="wap">
        <map:transform src="myGP/stylesheets/{1}_wap.xsl"/>
      </map:when>
      <map:otherwise>
        <map:transform src="myGP/stylesheets/{1}.xsl"/>
      </map:otherwise>
    </map:select>
      <map:serialize type="xml"/>
   </map:match>

 </map:pipeline>

-----------------
Thank you
-----------------


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

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

Reply via email to