clojuredesign-podcast

Discussions around the Functional Design in Clojure podcast - https://clojuredesign.club/
porkostomus 2019-12-22T00:13:59.022900Z

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

porkostomus 2019-12-22T00:16:41.023100Z

Like clojure/data/xml.cljs, it uses the browser object's DOMParser.

nate 2019-12-22T00:17:17.023800Z

Oh wow. What happened to Tubax?

porkostomus 2019-12-22T00:19:45.024Z

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

nate 2019-12-22T00:25:00.025100Z

Ah, interesting. Thanks for passing along that info.

porkostomus 2019-12-22T00:37:18.025300Z

Thanks for the inspiration! My favorite part of working with XML is making it not-XML

nate 2019-12-22T00:41:10.026400Z

Hahaha. So true. Can't wait to make it "just data".