[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:
http://www.jserv.com/jk_orr/xml/driveinfoleo.htm
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
to XML/HTML
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.
<quote http://sourceforge.net/forum/message.php?msg_id=1694277>
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
non-functional language.
If we can get a nice package of XSLT stylesheets written, Leo could become a
tool for creating outline format websites.
</quote>
He has a page of developing Leo/XSLT experiments:
http://www.jserv.com/jk_orr/xml/leo.htm
./Jason