Yes!! You’ve captured it beautifully: that is precisely what I would like to
give them :) They are most, if not all, total coding neophytes, so this is
their first exposure to the magic of markup languages.
Michele
From: Wendell Piez wapiez(_at_)wendellpiez(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, March 30, 2022 1:01 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Unable to get Firefox to apply XSL
Hi,
Unfortunately none of the workarounds suggested so far have quite the goodness
Michele needs, in a pedagogical context, where she would like her students to
be washed in a wave of startled satisfaction at the end of their course, on
seeing their hard-edged, pointy-bracketed code magically dressed for the ball
by their favorite computer application, namely their well-worn web browser, no
extension, no fussy download.
Without that file system view this might still be possible, but not as easy.
However, I am also not sure we are not already past that point. Michele, is
this for a web-literate audience (who knows about HTML, CSS and servers), or
are they really neophytes to markup-based information processing?
A couple of my demos at https://wendellpiez.github.io/XMLjellysandwich/ offer
hints of what is possible today, but there is much more to be done in this
area. I believe magic is still possible even without the xml-stylesheet PI over
the file system. But it'll be somewhat different.
Regards, Wendell
On Wed, Mar 30, 2022 at 12:32 PM Dean Fiala
dfiala(_at_)gmail(_dot_)com<mailto:dfiala(_at_)gmail(_dot_)com>
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com<mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>>
wrote:
Check out Lightsail on AWS
https://aws.amazon.com/free/compute/lightsail/
Quick and cheap path to getting a simple web server set up -- leaving the fun
part of creating a web app that takes a stylesheet and xml file and does the
transformation. For that you can use your choice of Ruby on Rails, Python,
java, etc. -- I bet with a little google foo you can probably even find a
working example to get you started.
On Wed, Mar 30, 2022 at 12:21 PM Michele R Combs
mrrothen(_at_)syr(_dot_)edu<mailto:mrrothen(_at_)syr(_dot_)edu>
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com<mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>>
wrote:
That would be great, but unfortunately it's far beyond my capabilities -- I
wouldn't even know where to start to set up something like that :( But maybe I
can teach myself between now and next time we teach the class!
Michele
-----Original Message-----
From: Norm Tovey-Walsh
ndw(_at_)nwalsh(_dot_)com<mailto:ndw(_at_)nwalsh(_dot_)com>
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com<mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>>
Sent: Wednesday, March 30, 2022 12:18 PM
To:
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com<mailto:xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: Re: [xsl] Unable to get Firefox to apply XSL
I suppose I could give them Saxon and a pre-written batch file so all
they have to do is double-click; saxon is pretty self-contained.
One way forward for this sort of thing is to pull the infrastructure onto your
end. Setup a web form where they can upload the file (or the stylesheet, or
both, I’m not sure which bit the students are working on), transform it form
them, and send back the results.
For a few students with small files, it’s not an objectively large task to
setup a server that can do small transformations, but of course it depends a
little bit on what infrastructure you have available.
I’ve seen some very successful tutorials that were entirely “cloud based” like
this. It doesn’t work for everything, but it does work for some things and it
might possibly work for you here.
Good luck!
Be seeing you,
norm
--
Norman Tovey-Walsh <ndw(_at_)nwalsh(_dot_)com<mailto:ndw(_at_)nwalsh(_dot_)com>>
https://nwalsh.com/
Some people will never learn anything, for this reason, because they
understand everything too soon.--Pope
XSL-List info and archive<http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe<http://lists.mulberrytech.com/unsub/xsl-list/174322> (by email)
--
...Wendell Piez... ...wendell -at- nist -dot- gov...
...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org...
...github.com/wendellpiez.<http://github.com/wendellpiez.>..
...gitlab.coko.foundation/wendell...
XSL-List info and archive<http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe<http://lists.mulberrytech.com/unsub/xsl-list/1127818> (by
email<>)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--