Hi. I am aware that Instaparse collects the offsets to the strings it parses in the metadata of the elements of the parse tree. I would like to turn the parse tree into XML (using :output-format :enlive
and clojure.xml/emit
) and get the offset information somehow into the XML tree. Any pointers or ideas how to achieve this?