4 ms·
> how I can run it? open XML file > open blog.xml -a Safari This didn't work for me on my browsers (FF/Chrome/Safari) on Mac, apparently XSLT only works there
by elcapitan 1y ago
> how I can run it? open XML file
> open blog.xml -a Safari
This didn't work for me on my browsers (FF/Chrome/Safari) on Mac, apparently XSLT only works there when accessed through HTTP:
$ python3 -m http.server --directory .
$ open http://localhost:8000/blog.xml
I remember long hours using XSLT to transform custom XML formats into some other representation that was used by WXWindows in the 2000s, maybe I should give it a shot again for Web :)
- notpushkin 1y ago> --directory . Huh, neat! Did’t know it supported that. (python3 -m http.server will default to current directory anyway though)
- susam 1y agoYes! I often use a command like this to test my statically generated website locally using a command like this: python3 -m http.server -d _site/ Example: https://github.com/susam/susam.net/blob/0.3.0/Makefile#L264-L265 https://github.com/susam/susam.net/blob/0.3.0/Makefile#L264-...