aboutsummaryrefslogtreecommitdiff
path: root/pprint-api.html
diff options
context:
space:
mode:
authorTom Faulhaber <git_net@infolace.com>2010-08-25 00:03:33 -0700
committerTom Faulhaber <git_net@infolace.com>2010-08-25 00:03:33 -0700
commitb1a08104f7ba63879d49065b221374fa9be70afb (patch)
treebbabbbf272639af4483037518fa0b82741b83937 /pprint-api.html
parented7165092a1dceed842d40c48acafb7ab0a4b46b (diff)
Autodoc commit for 1.2.x/e4ea06c9, master/b0f2e778, 1.1.x/d132c5f1
Diffstat (limited to 'pprint-api.html')
-rw-r--r--pprint-api.html179
1 files changed, 29 insertions, 150 deletions
diff --git a/pprint-api.html b/pprint-api.html
index 0260f4fd..bf0e6f50 100644
--- a/pprint-api.html
+++ b/pprint-api.html
@@ -115,26 +115,6 @@ namespace.
<a href="#clojure.contrib.pprint/write-out">write-out</a>
</div>
<br />
- </div><div style="margin-left: 1em;" class="toc-section">
- <a href="#pprint.examples.json">pprint.examples.json</a>
- <div style="margin-left: 1em;" class="toc-entry">
- <a href="#clojure.contrib.pprint.examples.json/dispatch-json">dispatch-json</a>
- </div><div style="margin-left: 1em;" class="toc-entry">
- <a href="#clojure.contrib.pprint.examples.json/json-str">json-str</a>
- </div><div style="margin-left: 1em;" class="toc-entry">
- <a href="#clojure.contrib.pprint.examples.json/print-json">print-json</a>
- </div>
- <br />
- </div><div style="margin-left: 1em;" class="toc-section">
- <a href="#pprint.examples.xml">pprint.examples.xml</a>
- <div style="margin-left: 1em;" class="toc-entry">
- <a href="#clojure.contrib.pprint.examples.xml/*html-compatible*">*html-compatible*</a>
- </div><div style="margin-left: 1em;" class="toc-entry">
- <a href="#clojure.contrib.pprint.examples.xml/*prxml-indent*">*prxml-indent*</a>
- </div><div style="margin-left: 1em;" class="toc-entry">
- <a href="#clojure.contrib.pprint.examples.xml/prxml">prxml</a>
- </div>
- <br />
</div>
</div>
</div>
@@ -177,7 +157,7 @@ documentation on the the clojure-contrib web site on github.</pre>
<pre id="var-docstr">The pretty print dispatch function for pretty printing Clojure code.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L354" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L354" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -187,7 +167,7 @@ documentation on the the clojure-contrib web site on github.</pre>
<pre id="var-docstr">The base to use for printing integers and rationals.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L78" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L78" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -197,7 +177,7 @@ documentation on the the clojure-contrib web site on github.</pre>
<pre id="var-docstr">Mark circular structures (N.B. This is not yet used)</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L56" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L56" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -207,7 +187,7 @@ documentation on the the clojure-contrib web site on github.</pre>
<pre id="var-docstr">Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L51" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L51" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -219,7 +199,7 @@ miser style add newlines in more places to try to keep lines short allowing for
levels of nesting.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L44" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L44" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -230,7 +210,7 @@ levels of nesting.</pre>
to modify.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L33" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L33" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -240,7 +220,7 @@ to modify.</pre>
<pre id="var-docstr">Bind to true if you want write to use pretty printing</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L29" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L29" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -252,7 +232,7 @@ or 16, then the radix specifier used is #b, #o, or #x, respectively. Otherwise t
radix specifier is in the form #XXr where XX is the decimal value of *print-base* </pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L72" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L72" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -264,7 +244,7 @@ Set it to nil to have pprint let the line be arbitrarily long. This will ignore
non-mandatory newlines.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L38" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L38" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -274,7 +254,7 @@ non-mandatory newlines.</pre>
<pre id="var-docstr">Mark repeated structures rather than repeat them (N.B. This is not yet used)</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L61" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L61" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -285,7 +265,7 @@ non-mandatory newlines.</pre>
pretty printing the results of macro expansions</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L65" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L65" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -296,7 +276,7 @@ pretty printing the results of macro expansions</pre>
<pre id="var-docstr">The pretty print dispatch function for simple data structure format.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L125" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L125" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -333,7 +313,7 @@ and in the Common Lisp HyperSpec at
<a href="http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm">http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm</a></pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L26" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L26" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -346,7 +326,7 @@ to cl-format just like a plain format string. Use this function for improved
performance when you're using the same format string repeatedly</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1749" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1749" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -361,7 +341,7 @@ output to a string) in which case it returns the resulting string.
format-in can be either a control string or a previously compiled format.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1817" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1817" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -377,7 +357,7 @@ this is meant to be used as part of a pretty printer dispatch method.
format-in can be either a control string or a previously compiled format.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1831" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1831" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -389,7 +369,7 @@ format-in can be either a control string or a previously compiled format.</pre>
N.B. Only works on ColumnWriters right now.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1153" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1153" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -401,7 +381,7 @@ N.B. Only works on ColumnWriters right now.</pre>
exactly equivalent to (pprint *1).</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L241" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L241" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -414,7 +394,7 @@ exactly equivalent to (pprint *1).</pre>
print the object to the currently bound value of *out*.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L229" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L229" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -430,7 +410,7 @@ the current column position. n is an offset.
Output is sent to *out* which must be a pretty printing writer.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L315" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L315" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -446,7 +426,7 @@ Before the body, the caller can optionally specify options: :prefix, :per-line-p
and :suffix.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L286" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L286" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -460,7 +440,7 @@ newline is :linear, :miser, :fill, or :mandatory.
Output is sent to *out* which must be a pretty printing writer.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L306" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L306" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -479,7 +459,7 @@ Output is sent to *out* which must be a pretty printing writer.
THIS FUNCTION IS NOT YET IMPLEMENTED.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L327" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L327" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -495,7 +475,7 @@ For example functions, see *simple-dispatch* and *code-dispatch* in
clojure.contrib.pprint.dispatch.clj.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L246" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L246" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -506,7 +486,7 @@ clojure.contrib.pprint.dispatch.clj.</pre>
<pre id="var-docstr">Installs a function as a new method of multimethod associated with dispatch-value. </pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L19" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L19" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -517,7 +497,7 @@ clojure.contrib.pprint.dispatch.clj.</pre>
<pre id="var-docstr">Execute body with the pretty print dispatch function bound to function.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L259" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L259" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -548,7 +528,7 @@ The following keyword arguments can be passed with values:
* = not yet supported</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L186" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L186" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -568,108 +548,7 @@ already know that the pretty printer will have set up their environment appropri
Normal library clients should use the standard "write" interface. </pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L161" id="var-source">Source</a>
-</div>
-<h2 id="namespace-name">pprint.examples.json</h2>
-<pre id="namespace-docstr">Pretty printing JavaScript Object Notation (JSON) generator.
-
-This is an example of using a pretty printer dispatch function to generate JSON output</pre>
-
-
-<span id="see-also">See also:
- <span id="see-also-link">
- <a href="http://json.org/">JSON Home Page</a>
- </span><br />
-</span><br />
-<div id="var-entry">
- <hr />
- <h2 id="clojure.contrib.pprint.examples.json/dispatch-json">dispatch-json</h2>
- <span id="var-type">multimethod</span><br />
- <pre id="var-usage">Usage: (dispatch-json x)
-</pre>
- <pre id="var-docstr">The dispatch function for printing objects as JSON</pre>
-
-
- <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/json.clj#L28" id="var-source">Source</a>
-</div><div id="var-entry">
- <hr />
- <h2 id="clojure.contrib.pprint.examples.json/json-str">json-str</h2>
- <span id="var-type">function</span><br />
- <pre id="var-usage">Usage: (json-str x)
-</pre>
- <pre id="var-docstr">Converts x to a JSON-formatted string.</pre>
-
-
- <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/json.clj#L96" id="var-source">Source</a>
-</div><div id="var-entry">
- <hr />
- <h2 id="clojure.contrib.pprint.examples.json/print-json">print-json</h2>
- <span id="var-type">function</span><br />
- <pre id="var-usage">Usage: (print-json x)
-</pre>
- <pre id="var-docstr">Prints x as JSON. Nil becomes JSON null. Keywords become
-strings, without the leading colon. Maps become JSON objects, all
-other collection types become JSON arrays. Java arrays become JSON
-arrays. Unicode characters in strings are escaped as \uXXXX.
-Numbers print as with pr.</pre>
-
-
- <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/json.clj#L87" id="var-source">Source</a>
-</div>
-<h2 id="namespace-name">pprint.examples.xml</h2>
-<pre id="namespace-docstr">A version of prxml that uses a pretty print dispatch function.</pre>
-
-
-<br />
-<div id="var-entry">
- <hr />
- <h2 id="clojure.contrib.pprint.examples.xml/*html-compatible*">*html-compatible*</h2>
- <span id="var-type">var</span><br />
- <pre id="var-usage"></pre>
- <pre id="var-docstr">If true, empty tags will have a space before the closing /&gt;</pre>
-
-
- <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/xml.clj#L26" id="var-source">Source</a>
-</div><div id="var-entry">
- <hr />
- <h2 id="clojure.contrib.pprint.examples.xml/*prxml-indent*">*prxml-indent*</h2>
- <span id="var-type">var</span><br />
- <pre id="var-usage"></pre>
- <pre id="var-docstr">The number of spaces to indent sub-tags.</pre>
-
-
- <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/xml.clj#L30" id="var-source">Source</a>
-</div><div id="var-entry">
- <hr />
- <h2 id="clojure.contrib.pprint.examples.xml/prxml">prxml</h2>
- <span id="var-type">function</span><br />
- <pre id="var-usage">Usage: (prxml &amp; args)
-</pre>
- <pre id="var-docstr">Print XML to *out*. Vectors become XML tags: the first item is the
-tag name; optional second item is a map of attributes.
-
-Sequences are processed recursively, so you can use map and other
-sequence functions inside prxml.
-
- (prxml [:p {:class "greet"} [:i "Ladies &amp; gentlemen"]])
- ; =&gt; &lt;p class="greet"&gt;&lt;i&gt;Ladies &amp;amp; gentlemen&lt;/i&gt;&lt;/p&gt;
-
-PSEUDO-TAGS: some keywords have special meaning:
-
- :raw! do not XML-escape contents
- :comment! create an XML comment
- :decl! create an XML declaration, with attributes
- :cdata! create a CDATA section
- :doctype! create a DOCTYPE!
-
- (prxml [:p [:raw! "&lt;i&gt;here &amp; gone&lt;/i&gt;"]])
- ; =&gt; &lt;p&gt;&lt;i&gt;here &amp; gone&lt;/i&gt;&lt;/p&gt;
-
- (prxml [:decl! {:version "1.1"}])
- ; =&gt; &lt;?xml version="1.1" encoding="UTF-8"?&gt;</pre>
-
-
- <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/xml.clj#L96" id="var-source">Source</a>
+ <a href="http://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L161" id="var-source">Source</a>
</div>
@@ -679,7 +558,7 @@ PSEUDO-TAGS: some keywords have special meaning:
</div>
</div>
<div id="foot">
- <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div>
+ <div style="text-align: center;" id="copyright">Copyright 2007-2010 by Rich Hickey and the various contributors</div>
</div>
</div>
<div id="DesignedBy">Logo &amp; site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br />