Created
March 26, 2014 17:05
-
-
Save cgrand/9788193 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=> (-> (javax.xml.parsers.DocumentBuilderFactory/newInstance) | |
.newDocumentBuilder | |
(.parse (java.io.ByteArrayInputStream. | |
(.getBytes | |
"<data> | |
<data url=\"http://example.org/\">hint</data> | |
3.14 | |
</data>"))) | |
.getDocumentElement | |
.getTextContent) | |
"\n hint\n 3.14\n" | |
;; I made this case worse by adding some annotation text to the transition |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment