SHARE
TWEET

Untitled

a guest Sep 29th, 2013 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;<item>
  2. ;               <title>Ohje</title>
  3. ;               <pubDate>Fri, 10 Mar 2006 10:55:20 +0000</pubDate>
  4. ;               <dc:creator>admin</dc:creator>
  5. ;       </item>
  6. ;       <item>
  7. ;               <title>wiki</title>
  8. ;               <pubDate>Fri, 10 Mar 2006 15:12:10 +0000</pubDate>
  9. ;               <dc:creator>admin</dc:creator>
  10. ;</item>
  11.  
  12.  
  13. (def xml_parsed (xml/parse "dev-resources/gddwnb_s.xml"))
  14. (def xml_seq (xml-seq xml_parsed))
  15.  
  16. (doall (for [x xml_seq
  17.            :when (= :item (:tag x))]
  18.          (first (:content x))))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top