Re: An xslt prototype for a read-only version of Leo as a web app

2015-02-23 Thread Edward K. Ream
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

Re: An xslt prototype for a read-only version of Leo as a web app

2015-02-19 Thread Edward K. Ream
On Wed, Feb 18, 2015 at 3:23 PM, Jacob Peck gatesph...@gmail.com wrote: On 2/18/2015 10:54 AM, Edward K. Ream wrote: 1. Visiting http://leoeditor.com/xslt-test.leo does not work. The browser renders xslt-test.leo xml, not html. That is, the browser does not perform the xslt

Re: An xslt prototype for a read-only version of Leo as a web app

2015-02-18 Thread Matt Wilkie
On Wed, Feb 18, 2015 at 7:54 AM, Edward K. Ream edream...@gmail.com wrote: 2. Open xslt-test.leo in your browser. You should see something like this: Yes I see an html rendered page. This is great! For the remote-origin security issue: as long as the .leo file and .xlst file reside on the

Re: An xslt prototype for a read-only version of Leo as a web app

2015-02-18 Thread Jacob Peck
On 2/18/2015 10:54 AM, Edward K. Ream wrote: 1. Visiting http://leoeditor.com/xslt-test.leo does not work. The browser renders xslt-test.leo xml, not html. That is, the browser does not perform the xslt transformations. Your web server is configured to send .leo files as MIME type

An xslt prototype for a read-only version of Leo as a web app

2015-02-18 Thread Edward K. Ream
I have been wondering whether it would be possible to use xslt to render .leo files from web pages. This would build on Ville's work. First, a demo: 1. Copy the two attached files to the same folder on your hard drive. Note: recent revs have added these two files to the top-level leo folder,