mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
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
This commit is contained in:
@ -203,14 +203,14 @@ DEBUG("parsePerson\n");
|
||||
<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->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>
|
||||
|
Reference in New Issue
Block a user