Ah ... After zip/edit comes zip/root ... xml/emit-str ... spit.
On Tuesday, April 17, 2012 3:29:01 PM UTC-4, Andrew wrote:
1. It seems build.clojure.org now uses Java 6 so clojure.data.xml is
available for use (vs February 20 2012 -- correct me if I'm wrong)
2. Using clojure.zip
It seems build.clojure.org now uses Java 6
on the top of http://build.clojure.org/ stays:
All projects build on Sun/Oracle JDK 1.5. -test-matrix jobs test
multiple JDKs and Clojure versions.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to
A friend of mine had a problem parsing a large XML file using lazy-xml/
parse-trim, because it caused all of the input to be parsed at once:
http://paste.lisp.org/display/78235
It seems to me that the problem is fixed by applying a small patch
(uploaded as lazy-xml.patch), wrapping the calls
On Wed, Apr 8, 2009 at 4:07 PM, Jouni K. Seppänen j...@iki.fi wrote:
A friend of mine had a problem parsing a large XML file using lazy-xml/
parse-trim, because it caused all of the input to be parsed at once:
http://paste.lisp.org/display/78235
It seems to me that the problem is fixed
for the clojure/xml/xml.clj, I see the
example at the bottom which I modified to get to work (note the
apostrophe before xml/parse):
(load-file /Users/me/Downloads/clojure/src/clj/clojure/xml/xml.clj)
(def x ('xml/parse /Users/me/correct/path/to/my.xml))
; also tried URIs with file:///, file
On Dec 11, 2008, at 3:23 PM, Kevin Downey wrote:
your problem is '
' makes xml/parse a symbol and stops evaling it to a function
symbols are callable like keywords so if you have a hash with symbols
as keys you can
('a {'a 1 'b 2}) - 1
so ('xml/parse /Users/me/correct/path/to/my.xml
) in Aquamacs. I have installed
the clojure mode and am using it with inferior-lisp to see output.
When looking at the source for the clojure/xml/xml.clj, I see the
example at the bottom which I modified to get to work (note the
apostrophe before xml/parse):
(load-file /Users/me/Downloads/clojure/src/clj
On Dec 11, 2008, at 3:44 PM, Robert Koberg wrote:
Hi again,
I see the default ContentHandler implementation does not handle XML
Namespaces. Is that the case or does the :xmlns symbol
I meant keyword (I think) here. For example, say I have /xml/ like:
{:tag :my-root, attrs {:xmlns:x
Hi,
Given an XML structure like:
root xmlns:dc=http://purl.org/dc/elements/1.1/;
fragment xmlns:xyz=http://www.w3.org/1999/xhtml;
dc:titleA HEAD Title/dc:title
xyz:titleA BODY Title/xyz:title
/fragment
fragment xmlns:zyx=http://www.w3.org/1999/xhtml;
dc:titleA HEAD