xsl-list
[Top] [All Lists]

Re: [xsl] Unable to get Firefox to apply XSL

2022-03-30 14:30:23
What I tend to do recently when I need a directory served via HTTP is to fire up an Apache docker container with the current directory mapped into its htdocs directory. With virtualization activated and Docker Desktop installed on my Windows computer, I just issue

$ docker run -dit --name my-apache-app -p 8080:80 -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4

on the WSL command line, as they recommend on https://hub.docker.com/_/httpd

I must acknowledge that it requires a significant amount of infrastructure to be set up beforehand. Infrastructure that is very useful for all kinds of purposes nonetheless.

Gerrit

On 30.03.2022 18:21, Michele R Combs mrrothen(_at_)syr(_dot_)edu 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 
<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

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>

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/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>