logoalt Hacker News

elcapitantoday at 7:22 AM1 replyview on HN

> 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 :)

Replies

notpushkintoday at 8:03 AM

> --directory .

Huh, neat! Did’t know it supported that. (python3 -m http.server will default to current directory anyway though)

show 1 reply