[REBOL] XSLT and folding code viewer
From: jason::cunliffe::verizon::net at: 26-Sep-2002 18:47
A nice developing example of using XSLT to generate 'folding' code docuemntation
on-line is at:
The styling is raw still. But I think this is still an impressive example of how
a functional language processor can take a complex trees structure and render it
In this case its XSLT converting a Leo file.
Could be REBOL converting a REBOL tree also..
Jo Orr, who developed the above, made some interesting comments today about XSLT
as a functional language. Naturally it also reinforces the role Rebol can play
in this type of work.
You can see from some of these samples included with Screenbook Maker BTW, that
using XSLT to transform XML is far simpler and more elegant than any
non-functional language solution. Another useful functional language is SQL. Not
many would argue that SQL should be replaced with e.g. Python. So I wouldn't
write XSLT off as a fad even if you are a Python wizard.
The XSLT file I uploaded is unfortunately not an example of elegance, in fact I
hardly understand it myself. But it *is* a lot shorter than it would be in a
If we can get a nice package of XSLT stylesheets written, Leo could become a
tool for creating outline format websites.
He has a page of developing Leo/XSLT experiments: