Last active
September 1, 2017 16:24
-
-
Save arademaker/6cdf0fa3609a8040c30663943be17333 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(ql:quickload :cxml) | |
(ql:quickload :cxml-stp) | |
(defparameter *document* (cxml:parse #P"raw/2010-official-1.xml" | |
(stp:make-builder))) | |
(let (res) | |
(xpath:do-node-set (node (xpath:evaluate "//statement" *document*) res) | |
(push (xpath-protocol:node-text node) res))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment