What is the best way to write a transform that could be inserted at any
point in the pipeline to produce a colorized output of the pipe at that
stage, ike the view source, only with dynamically generated tags?

So if I was trying to debug this:

      <map:match pattern="test">
          <map:generate type="serverpages" src="docs/sample.xsp"/>
          <map:transform src="stylesheets/t1.xsl"/>
          <map:transform src="stylesheets/t2.xsl"/>
        <map:serialize/>
      </map:match>

I could do something like this:

      <map:match pattern="test1">
          <map:generate type="serverpages" src="docs/sample.xsp"/>
          <map:transform src="stylesheets/debugcolorize.xsl"/>
        <map:serialize/>
      </map:match>

      <map:match pattern="test2">
          <map:generate type="serverpages" src="docs/sample.xsp"/>
          <map:transform src="stylesheets/t1.xsl"/>
          <map:transform src="stylesheets/debugcolorize.xsl"/>
        <map:serialize/>
      </map:match>

    <map:match pattern="test3">
          <map:generate type="serverpages" src="docs/sample.xsp"/>
          <map:transform src="stylesheets/t1.xsl"/>
          <map:transform src="stylesheets/t2.xsl"/>
          <map:transform src="stylesheets/debugcolorize.xsl"/>
        <map:serialize/>
      </map:match>

Mark Miller
Web Architect
Logica




---------------------------------------------------------------------
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