forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schaefer <>
Subject Re: How to serialize intermediary XML files for debugging?
Date Fri, 08 Oct 2004 08:38:16 GMT
Dave Brondsema wrote:

> Christian Roth wrote:
>> Hi,
>> I'm working on customizing skins and behaviours regarding menu/tab/
>> content creation for my site.
>> Is there a pre-configured option to have the intermediary files on which
>> e.g. book2menu.xsl, tab2menu.xsl and document2html.xsl operate 
>> serialized
>> to a file so that I can use a simple, standalone XSLT debugger to check
>> what my stylesheets are doing outside of the complex Cocoon framework?
>> If there isn't, it would be nice if someone could point me in the right
>> direction on what to modify to have intermediary results be serialized.
>> Modify somehow Cocoon's pipelines by adding serialize steps? How to get
>> them to still operate as normal on the following steps? I'm a little
>> clueless here...
> This should have gone to the dev@f.a.o list.
> Have you read 
> Also, you can modify the cocoon sitemaps so that they match on 
> something special and will serialize the intermediate step there.  
> Cocoon also have "views" which we currently don't take advantage of.
Some of the intermediate results you can get by putting
the follwing URLs into your browser
(your soucefile is mysource.xml; supposes 'forrest run').
http://localhost:8888/mysource.html  -- the final HTML
http://localhost:8888/mysource.xml   -- the original XML (or is it the 
XML already in doc-format?)
http://localhost:8888/    -- FO file for PDF output
.../tab-mysource.html -- the tabs
.../menu-mysource.html -- the menu
.../body-mysource.html -- the body of your page
Most of it is html, but there maybe more, see

We used this a lot for FO debugging. Maybe you'll have to
define intermediate results for XML as Dave said.


User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 * D-81825 München

View raw message