You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/09 11:27:02 UTC

[Cocoon Wiki] Updated: SAX

   Date: 2004-07-09T02:27:02
   Editor: DerekLastname <dh...@csir.co.za>
   Wiki: Cocoon Wiki
   Page: SAX
   URL: http://wiki.apache.org/cocoon/SAX

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -10,30 +10,30 @@
 
 An XML document, as you might know, can be seen as a "tree" of "nodes". Take a look at a small example document:
 
-{{{
-<doc>
-    <title>Hello</title>
-    Humtidumpti dumpti dump...
-    <special>some text</special>
-</doc>
+{{{
+<doc>
+    <title>Hello</title>
+    Humtidumpti dumpti dump...
+    <special>some text</special>
+</doc>
 }}}
 
 This document can be seen as a tree of nodes:
 
-{{{
-The root
-  |
-  +- element "doc"
-       |
-       +- element "title"
-       |    |
-       |    +- text "Hello"
-       |
-       +- text "Humptidumpti dumpti dump"
-       |
-       +- element "special"
-            |
-            +- text "some text"
+{{{
+The root
+  |
+  +- element "doc"
+       |
+       +- element "title"
+       |    |
+       |    +- text "Hello"
+       |
+       +- text "Humptidumpti dumpti dump"
+       |
+       +- element "special"
+            |
+            +- text "some text"
 }}}
 
 ...where "some text" belongs to the element "special" that belongs to the element "doc" etc.
@@ -49,18 +49,18 @@
 
 The example document above could be expressed as:
 
-{{{
-SAXEvent: "document begins"
-SAXEvent: "element 'doc' begins"
-SAXEvent: "element 'title' begins"
-SAXEvent: "now comes the text 'Hello'"
-SAXEvent: "element 'title' ends"
-SAXEvent: "now comes the text 'Humtidumpti dumpti dump...'"
-SAXEvent: "element 'special' begins"
-SAXEvent: "now comes the text 'some text'"
-SAXEvent: "element 'special' ends"
-SAXEvent: "element 'doc' ends"
-SAXEvent: "document ends"
+{{{
+SAXEvent: "document begins"
+SAXEvent: "element 'doc' begins"
+SAXEvent: "element 'title' begins"
+SAXEvent: "now comes the text 'Hello'"
+SAXEvent: "element 'title' ends"
+SAXEvent: "now comes the text 'Humtidumpti dumpti dump...'"
+SAXEvent: "element 'special' begins"
+SAXEvent: "now comes the text 'some text'"
+SAXEvent: "element 'special' ends"
+SAXEvent: "element 'doc' ends"
+SAXEvent: "document ends"
 }}}
 
 === How this is utilized in Cocoon pipelines ===
@@ -83,6 +83,6 @@
 
 ----
 === Readers' comments ===
-Yes, absolutely. Thank you so much. We (the users) really need articles like this - [:gabridome]
+Yes, absolutely. Thank you so much. We (the users) really need articles like this - gabridome
 
-bbbbbbbbut, this is fantastic.. the possibilities!![:gina]
+bbbbbbbbut, this is fantastic.. the possibilities!! - gina