Leo's online rendering page <http://leoeditor.com/load-leo.html> uses xslt <http://www.w3schools.com/xsl/>to create html from a .leo file. The actual code is in leo_to_html.xsl. Using xslt is natural on Leo's main server. It could even be called elegant, though only we nerds would think so.
Happily, the mod_http plugin uses plain python (not xslt) to generate each page. It should be straightforward to rewrite the page-generation code in the plugin to mimic the output of the xslt. That way, we could use the javascript in leo_to_html.xsl to expand and contract nodes. Not only does will this enhance the mod_http plugin, it will serve as an easier development platform for improving leo_to_html.xsl. I'll be playing around with this today. Don't worry, the new code will be enabled via a switch so that the old code will remain unchanged when the switch is off. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
