[cxml-cvs] CVS update: cxml/doc/dom.html cxml/doc/installation.html cxml/doc/quickstart.html cxml/doc/using.html cxml/doc/xmls-compat.html

David Lichteblau dlichteblau at common-lisp.net
Thu Dec 29 00:31:35 UTC 2005


Update of /project/cxml/cvsroot/cxml/doc
In directory common-lisp.net:/tmp/cvs-serv7494/doc

Modified Files:
	dom.html installation.html quickstart.html using.html 
	xmls-compat.html 
Log Message:
whitespace normalizer

Date: Thu Dec 29 01:31:31 2005
Author: dlichteblau

Index: cxml/doc/dom.html
diff -u cxml/doc/dom.html:1.5 cxml/doc/dom.html:1.6
--- cxml/doc/dom.html:1.5	Thu Dec 29 00:11:19 2005
+++ cxml/doc/dom.html	Thu Dec 29 01:31:31 2005
@@ -23,7 +23,7 @@
         <li>
           <ul class="hack">
             <li>
-              <a href="using.html#quickstart"><b>Quick-Start Example</b></a>
+              <a href="quickstart.html"><b>Quick-Start Example</b></a>
             </li>
           </ul>
         </li>


Index: cxml/doc/installation.html
diff -u cxml/doc/installation.html:1.7 cxml/doc/installation.html:1.8
--- cxml/doc/installation.html:1.7	Thu Dec 29 00:11:19 2005
+++ cxml/doc/installation.html	Thu Dec 29 01:31:31 2005
@@ -23,7 +23,7 @@
         <li>
           <ul class="hack">
             <li>
-              <a href="using.html#quickstart"><b>Quick-Start Example</b></a>
+              <a href="quickstart.html"><b>Quick-Start Example</b></a>
             </li>
           </ul>
         </li>
@@ -116,7 +116,7 @@
     <pre>* (asdf:operate 'asdf:load-op :cxml)</pre>
 
     <p>
-      You can then try the <a href="using.html#quickstart">quick-start example</a>.
+      You can then try the <a href="quickstart.html">quick-start example</a>.
     </p>
 
     <a name="tests"/>


Index: cxml/doc/quickstart.html
diff -u cxml/doc/quickstart.html:1.4 cxml/doc/quickstart.html:1.5
--- cxml/doc/quickstart.html:1.4	Thu Dec 29 00:11:19 2005
+++ cxml/doc/quickstart.html	Thu Dec 29 01:31:31 2005
@@ -23,7 +23,7 @@
         <li>
           <ul class="hack">
             <li>
-              <a href="using.html#quickstart"><b>Quick-Start Example</b></a>
+              <a href="quickstart.html"><b>Quick-Start Example</b></a>
             </li>
           </ul>
         </li>


Index: cxml/doc/using.html
diff -u cxml/doc/using.html:1.11 cxml/doc/using.html:1.12
--- cxml/doc/using.html:1.11	Thu Dec 29 00:18:04 2005
+++ cxml/doc/using.html	Thu Dec 29 01:31:31 2005
@@ -23,7 +23,7 @@
         <li>
           <ul class="hack">
             <li>
-              <a href="using.html#quickstart"><b>Quick-Start Example</b></a>
+              <a href="quickstart.html"><b>Quick-Start Example</b></a>
             </li>
           </ul>
         </li>
@@ -388,6 +388,32 @@
       <tt>start-element</tt> events before passing them on the next
       handler.
     </p>
+    <p>
+      <div class="def">Function CXML:MAKE-WHITESPACE-NORMALIZER (chained-handler &optional dtd)</div>
+      Return a SAX handler which removes whitespace from elements that
+      have <em>element content</em> and have not been declared to
+      preserve space using an xml:space attribute.
+    </p>
+    <p>Example:</p>
+    <pre>(cxml:parse-file "example.xml"
+                 (cxml:make-whitespace-normalizer (cxml-dom:make-dom-builder))
+                 :validate t)</pre>
+    <p>Example input:</p>
+    <pre><!DOCTYPE test [
+<!ELEMENT test (foo,bar*)>
+<!ATTLIST test a CDATA #IMPLIED>
+<!ELEMENT foo #PCDATA>
+<!ELEMENT bar (foo?)>
+<!ATTLIST bar xml:space (default|preserve) "default">
+]>
+<test a='b'>
+  <foo>   </foo>
+  <bar>   </bar>
+  <bar xml:space="preserve">   </bar>
+</test>
+</pre>
+    <p>Example result:</p>
+    <pre><test a="b"><foo>   </foo><bar></bar><bar xml:space="preserve">   </bar></test></pre>
 
     <a name="rods"/>
     <h3>Recoders</h3>
@@ -572,6 +598,9 @@
       <div class="def">Accessor SAX:ATTRIBUTE-QNAME (attribute)</div>
       <div class="def">Accessor SAX:ATTRIBUTE-SPECIFIED-P (attribute)</div>
       <div class="def">Accessor SAX:ATTRIBUTE-VALUE (attribute)</div>
+      <br/>
+      <div class="def">Function SAX:FIND-ATTRIBUTE (qname attributes)</div>
+      <div class="def">Function SAX:FIND-ATTRIBUTE-NS (uri lname attributes)</div>
     </p>
     <p>
       The entity declaration methods are similar to Java SAX


Index: cxml/doc/xmls-compat.html
diff -u cxml/doc/xmls-compat.html:1.2 cxml/doc/xmls-compat.html:1.3
--- cxml/doc/xmls-compat.html:1.2	Thu Dec 29 00:11:19 2005
+++ cxml/doc/xmls-compat.html	Thu Dec 29 01:31:31 2005
@@ -23,7 +23,7 @@
         <li>
           <ul class="hack">
             <li>
-              <a href="using.html#quickstart"><b>Quick-Start Example</b></a>
+              <a href="quickstart.html"><b>Quick-Start Example</b></a>
             </li>
           </ul>
         </li>




More information about the Cxml-cvs mailing list