Completed
Details
Assignee
Herwig HochleitnerHerwig HochleitnerReporter
Artem YarulinArtem YarulinPriority
Minor
Details
Details
Assignee
Herwig Hochleitner
Herwig HochleitnerReporter
Artem Yarulin
Artem YarulinPriority
Created November 13, 2015 at 9:49 AM
Updated December 8, 2016 at 3:48 AM
Resolved December 8, 2016 at 3:48 AM
Parsing XML(and HTML) is very often task and currently it requires a lot of effort and use of different libraries and wrappers around JS libs.
We can dramatically simplify it if we migrate data.xml to ClojureScript.
I'm maintaining koh library which has proof-of-concept XML support for Node and Browsers https://github.com/artemyarulin/koh/blob/master/src/koh/xml.cljs
The general idea is that we can utilise DOMParser object in order to parse string to XML tree. It has a decent browser support https://developer.mozilla.org/en-US/docs/Web/API/DOMParser and has a NodeJS implementation which follows the same API https://github.com/jindw/xmldom
What do you think about this feature?
I can pretty much follow the same guidelines from http://dev.clojure.org/jira/browse/DZIP-5 and implement it in the same way
Thanks