This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-05
Channels
- # announcements (1)
- # babashka (5)
- # beginners (151)
- # calva (43)
- # clj-kondo (23)
- # cljdoc (1)
- # cljs-dev (6)
- # cljsrn (10)
- # clojure (60)
- # clojure-australia (1)
- # clojure-europe (26)
- # clojure-gamedev (14)
- # clojure-nl (1)
- # clojure-spec (10)
- # clojure-uk (80)
- # clojurescript (66)
- # clojureverse-ops (4)
- # community-development (7)
- # conjure (8)
- # datomic (15)
- # deps-new (1)
- # docker (27)
- # emacs (2)
- # fulcro (13)
- # honeysql (13)
- # java (5)
- # jobs-discuss (43)
- # lsp (121)
- # luminus (13)
- # malli (1)
- # off-topic (73)
- # pathom (12)
- # polylith (29)
- # practicalli (4)
- # re-frame (35)
- # reagent (44)
- # remote-jobs (5)
- # rewrite-clj (2)
- # sci (7)
- # shadow-cljs (125)
- # sql (4)
- # tools-deps (9)
- # xtdb (5)
Good morning!
For fun or profit?
It was either doing it myself or wrapping the alpha version of clojure.data.xml which has some undesirable behaviour
Not right now, but maybe in the future depending on what you need to do. It parses directly as Hiccup and doesn’t deliberately hide certain attributes, e.g. xmlns. I needed it for pattern matching on the Clojure side and for use with reagent in the browsers.
Also, it makes little sense to me to default to preserving XML comments and whitespace - those things are usually artefacts of the input file, not important data to keep around. You mainly need it if you want to recreate the old XML file, but I want to consume the resulting Hiccup data.
I wonder how this would contrast to this stuff I wrote some time ago https://github.com/vvvvalvalval/xml-pull Querying XML doesn't seem to be a solved problem
@U06GS6P1N It’s probably similar if you mean the overall goal of the library. I wanted something where I can pull in XML files, declaratively replace parts of it with reagent code, and render it as a compliant web page. A secondary goal has to do with reusing the declarative substitution code to locate metadata in order to generate triples for a Triplestore in the backend (to be used to search for the documents displayed in the frontend). That’s why I needed something that did the XML->Hiccup part in a identical way in both CLJ and CLJS.
That's a weird way of saying "Good morning", but it'll do 🤓
Good morning!
Anyone know of any good tools for analyzing wifi connectivity? I'm trying to improve the wifi experience in my house.
Morning