On Wednesday, February 18, 2015 at 9:54:15 AM UTC-6, Edward K. Ream wrote:

I have been wondering whether it would be possible to use xslt to render 
> .leo files from web pages. 
>

A brief update.  My brother speed is working on server-side solutions to 
the various problems I mentioned. We want the user to be able to paste a 
url to a .leo file into a form on a web page and have leo_to_xslt.xsl 
render the .leo file in the same page.

Several minor problems must be addressed.  For example, to render a .leo 
file in a git repo, you must first select the .leo file, then use the url 
that result from selecting the "raw" view.

Main url: 
https://github.com/leo-editor/leo-editor/blob/master/leo/core/LeoPyRef.leo
Raw url: 
https://raw.githubusercontent.com/leo-editor/leo-editor/master/leo/core/LeoPyRef.leo

Speed should be able to create a working prototype easily, but he is a busy 
guy so it may be awhile before it actually happens.  In the meantime, I 
have been studying xslt, xpath, etc. These are simple, powerful 
technologies, and I'm becoming comfortable with them.

Improving leo_to_html.xsl can be done now--it does not depend on Speed's 
work.  However, getting Leo 5.1 b1 out the door takes priority, and the 
"Leo as a diff" project may also delay work.

Edward

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to