cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: XSL Passthrough
Date Fri, 19 May 2000 20:32:46 GMT
Darren Scott wrote:
> 
> Hi,
> 
> Does anybody have an XSL sheet which will pass through the source tree
> formatted in HTML - ie so you can view it in the browser.
> 
> I just thought it could be really useful for debugging XSP pages

distributed in Cocoon you find the 

 /samples/xsp/view-source.xml

which is an XSP that pretty-prints your XML with color highlightning.
Use as

 /sample/xsp/view-source.xml?filename=[your XML document]

Hope it helps.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message