On Thu, 19 Jul 2001, Marks local account wrote:
> 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?
I don't know what you want to color but there is still the good old
LogTransformer which was always a good helper to see what's running down
the pipeline. Look at the cocoon.log for its output.
Giaocmo
>
> 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]>
>
>
>
>
---------------------------------------------------------------------
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]>