XSLT and folding code viewer
[1/2] 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
[2/2] from: bry:itnisk at: 27-Sep-2002 14:14
I'm wondering aside from the line " Could be REBOL converting a REBOL
tree also " what this post has to do with Rebol. This is not negative,
I'm hoping the answer will be "Cause we're gonna make an xslt processor
for Rebol!!" a dream of mine which unfortunately I have had no time to
fulfill, not to say I've had time to get good at Rebol which would have
to be step 1 of fulfilling my dream.
I've looked at Leo and am thinking about supporting it's output format
in our product(MediaMaxx) in the next couple of weeks, a description of
MediaMaxx can be found at http://www.MediaMaxx.biz (this is Danish,
English info at http://www.mediamaxx.biz/english/assembler.asp ) , more
technical stuff can be found at
http://www.mediamaxx.biz/english/technical/assembler.asp (am posting
these links not to market but as a context reference) since our
presentation level is controlled via xslt, and I am the one who writes
the xslt I think it might be cool to do something together, if there is
any discussion out there about what Leo should be able to do. MediaMaxx
is in early beta stage.