clojure-xml/parse returns a map of an xml file.
(ns xml-lib.core
^{:author "Charles M. Norton",
:doc "xml-lib is an xml parsing library built on clojure-xml.
Created on June 26, 2012"}
(:require [clojure.string :as cstr])
(:require [util.core :as utl])
(:require [clojure.xml :as cjxml]))
(defn ret-xml-data
"Returns a map of the supplied xml file."
[xml-fnam]
(let [test-file-nam (utl/open xml-fnam)]
(cjxml/parse xml-fnam))
Is the returned map lazy, or should I pass the parse call into a lazy sequence function?
Thanks.
(ret-xml-data "test.xml")
returns (result truncated).
{:tag :TamperExport, :attrs {:xmlns "http://