summaryrefslogtreecommitdiff
path: root/doc/example.html
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-07-24 23:47:05 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-07-24 23:47:05 +0000
commit0b28e88eb9285def35d2f1201a932014b717c3d3 (patch)
treefea29a614b18eef38e86f33dddec52a837f724da /doc/example.html
parent8e8a703c767abfd43fdc89794f009a443096236e (diff)
downloadlibxml2-0b28e88eb9285def35d2f1201a932014b717c3d3.tar.gz
applied syntax patch from Rick Jones and rebuilt the web site. Daniel
* doc/xml.html doc/*.html: applied syntax patch from Rick Jones and rebuilt the web site. Daniel
Diffstat (limited to 'doc/example.html')
-rw-r--r--doc/example.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/example.html b/doc/example.html
index 8e9b264e..c8eb55ad 100644
--- a/doc/example.html
+++ b/doc/example.html
@@ -203,14 +203,14 @@ DEBUG(&quot;parsePerson\n&quot;);
<li>Usually a recursive parsing style is the more convenient one: XML data
is by nature subject to repetitive constructs and usually exhibits highly
structured patterns.</li>
-<li>The two arguments of type <em>xmlDocPtr</em> and <em>xmlNsPtr</em>,
+ <li>The two arguments of type <em>xmlDocPtr</em> and <em>xmlNsPtr</em>,
i.e. the pointer to the global XML document and the namespace reserved to
the application. Document wide information are needed for example to
decode entities and it's a good coding practice to define a namespace for
your application set of data and test that the element and attributes
you're analyzing actually pertains to your application space. This is
done by a simple equality test (cur-&gt;ns == ns).</li>
-<li>To retrieve text and attributes value, you can use the function
+ <li>To retrieve text and attributes value, you can use the function
<em>xmlNodeListGetString</em> to gather all the text and entity reference
nodes generated by the DOM output and produce an single text string.</li>
</ul>