Tubax worked great for me locally but didn't survive deployment. Tried using sax-js directly and also gave up. Then I found "node-xml-lite", which partially works (couldn't read a file, but can pass it a string at least). But wait... there's a cljs port of clojure.data.xml, so what's the problem? Dunno, but that didn't work for me either. Perhaps I'm missing something really silly. Gonna try this next: https://google.github.io/closure-library/api/goog.dom.xml.html
Like clojure/data/xml.cljs, it uses the browser object's DOMParser
.
Oh wow. What happened to Tubax?
There's an open issue about it not compiling with shadow-cljs, with instructions kindly given to fix it, but I tried it without luck
Ah, interesting. Thanks for passing along that info.
Thanks for the inspiration! My favorite part of working with XML is making it not-XML
Hahaha. So true. Can't wait to make it "just data".