[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
doc
/
libxml2-devel
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 examples
SET
[ DEL ]
📁 html
SET
[ DEL ]
📁 tutorial
SET
[ DEL ]
📄 APIchunk0.html
30,273 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk1.html
37,493 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk10.html
64,326 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk11.html
33,227 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk12.html
87,887 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk13.html
61,787 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk14.html
45,412 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk15.html
44,236 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk16.html
36,364 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk17.html
54,153 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk18.html
42,840 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk19.html
36,657 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk2.html
40,658 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk20.html
32,781 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk21.html
37,791 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk22.html
57,957 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk23.html
63,797 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk24.html
94,529 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk25.html
41,730 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk26.html
32,181 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk27.html
33,982 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk28.html
58,059 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk29.html
13,413 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk3.html
36,193 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk4.html
36,188 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk5.html
29,904 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk6.html
29,020 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk7.html
32,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk8.html
30,225 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIchunk9.html
28,698 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIconstructors.html
59,500 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIfiles.html
328,329 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIfunctions.html
216,982 B
SET
[ EDIT ]
|
[ DEL ]
📄 APIsymbols.html
325,569 B
SET
[ EDIT ]
|
[ DEL ]
📄 DOM.gif
3,166 B
SET
[ EDIT ]
|
[ DEL ]
📄 DOM.html
6,617 B
SET
[ EDIT ]
|
[ DEL ]
📄 FAQ.html
21,140 B
SET
[ EDIT ]
|
[ DEL ]
📄 Libxml2-Logo-180x168.gif
8,195 B
SET
[ EDIT ]
|
[ DEL ]
📄 Libxml2-Logo-90x34.gif
3,070 B
SET
[ EDIT ]
|
[ DEL ]
📄 XMLinfo.html
6,797 B
SET
[ EDIT ]
|
[ DEL ]
📄 XSLT.html
5,775 B
SET
[ EDIT ]
|
[ DEL ]
📄 architecture.html
6,863 B
SET
[ EDIT ]
|
[ DEL ]
📄 bugs.html
10,245 B
SET
[ EDIT ]
|
[ DEL ]
📄 catalog.gif
6,105 B
SET
[ EDIT ]
|
[ DEL ]
📄 catalog.html
23,646 B
SET
[ EDIT ]
|
[ DEL ]
📄 contribs.html
7,678 B
SET
[ EDIT ]
|
[ DEL ]
📄 docs.html
7,625 B
SET
[ EDIT ]
|
[ DEL ]
📄 downloads.html
8,269 B
SET
[ EDIT ]
|
[ DEL ]
📄 encoding.html
19,414 B
SET
[ EDIT ]
|
[ DEL ]
📄 entities.html
9,443 B
SET
[ EDIT ]
|
[ DEL ]
📄 example.html
13,105 B
SET
[ EDIT ]
|
[ DEL ]
📄 guidelines.html
17,662 B
SET
[ EDIT ]
|
[ DEL ]
📄 help.html
6,321 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.html
10,669 B
SET
[ EDIT ]
|
[ DEL ]
📄 interface.html
8,211 B
SET
[ EDIT ]
|
[ DEL ]
📄 intro.html
7,207 B
SET
[ EDIT ]
|
[ DEL ]
📄 library.html
14,995 B
SET
[ EDIT ]
|
[ DEL ]
📄 libxml.gif
7,692 B
SET
[ EDIT ]
|
[ DEL ]
📄 libxml2-api.xml.gz
161,757 B
SET
[ EDIT ]
|
[ DEL ]
📄 namespaces.html
8,337 B
SET
[ EDIT ]
|
[ DEL ]
📄 news.html
167,305 B
SET
[ EDIT ]
|
[ DEL ]
📄 python.html
19,936 B
SET
[ EDIT ]
|
[ DEL ]
📄 redhat.gif
697 B
SET
[ EDIT ]
|
[ DEL ]
📄 searches.html
7,559 B
SET
[ EDIT ]
|
[ DEL ]
📄 smallfootonly.gif
2,772 B
SET
[ EDIT ]
|
[ DEL ]
📄 structure.gif
5,559 B
SET
[ EDIT ]
|
[ DEL ]
📄 threads.html
7,113 B
SET
[ EDIT ]
|
[ DEL ]
📄 tree.html
7,911 B
SET
[ EDIT ]
|
[ DEL ]
📄 upgrade.html
12,664 B
SET
[ EDIT ]
|
[ DEL ]
📄 w3c.png
2,028 B
SET
[ EDIT ]
|
[ DEL ]
📄 xml.html
308,976 B
SET
[ EDIT ]
|
[ DEL ]
📄 xmlcatalog_man.html
13,923 B
SET
[ EDIT ]
|
[ DEL ]
📄 xmldtd.html
13,645 B
SET
[ EDIT ]
|
[ DEL ]
📄 xmlio.html
12,795 B
SET
[ EDIT ]
|
[ DEL ]
📄 xmllint.html
23,275 B
SET
[ EDIT ]
|
[ DEL ]
📄 xmlmem.html
14,441 B
SET
[ EDIT ]
|
[ DEL ]
📄 xmlreader.html
20,139 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: interface.html
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="SHORTCUT ICON" href="/favicon.ico" /><style type="text/css"> TD {font-family: Verdana,Arial,Helvetica} BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em} H1 {font-family: Verdana,Arial,Helvetica} H2 {font-family: Verdana,Arial,Helvetica} H3 {font-family: Verdana,Arial,Helvetica} A:link, A:visited, A:active { text-decoration: underline } </style><title>The SAX interface</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo" /></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/"><img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XML C parser and toolkit of Gnome</h1><h2>The SAX interface</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Developer Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html" style="font-weight:bold">Main Menu</a></li><li><a href="html/index.html" style="font-weight:bold">Reference Manual</a></li><li><a href="examples/index.html" style="font-weight:bold">Code Examples</a></li><li><a href="guidelines.html">XML Guidelines</a></li><li><a href="tutorial/index.html">Tutorial</a></li><li><a href="xmlreader.html">The Reader Interface</a></li><li><a href="ChangeLog.html">ChangeLog</a></li><li><a href="XSLT.html">XSLT</a></li><li><a href="python.html">Python and bindings</a></li><li><a href="architecture.html">libxml2 architecture</a></li><li><a href="tree.html">The tree output</a></li><li><a href="interface.html">The SAX interface</a></li><li><a href="xmlmem.html">Memory Management</a></li><li><a href="xmlio.html">I/O Interfaces</a></li><li><a href="library.html">The parser interfaces</a></li><li><a href="entities.html">Entities or no entities</a></li><li><a href="namespaces.html">Namespaces</a></li><li><a href="upgrade.html">Upgrading 1.x code</a></li><li><a href="threads.html">Thread safety</a></li><li><a href="DOM.html">DOM Principles</a></li><li><a href="example.html">A real example</a></li><li><a href="xml.html">flat page</a>, <a href="site.xsl">stylesheet</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>API Indexes</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="APIchunk0.html">Alphabetic</a></li><li><a href="APIconstructors.html">Constructors</a></li><li><a href="APIfunctions.html">Functions/Types</a></li><li><a href="APIfiles.html">Modules</a></li><li><a href="APIsymbols.html">Symbols</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><a href="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://opencsw.org/packages/libxml2">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://lxml.de/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXML">Perl bindings</a></li><li><a href="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><a href="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><p>Sometimes the DOM tree output is just too large to fit reasonably into memory. In that case (and if you don't expect to save back the XML document loaded using libxml), it's better to use the SAX interface of libxml. SAX is a <strong>callback-based interface</strong> to the parser. Before parsing, the application layer registers a customized set of callbacks which are called by the library as it progresses through the XML input.</p><p>To get more detailed step-by-step guidance on using the SAX interface of libxml, see the <a href="http://www.jamesh.id.au/articles/libxml-sax/libxml-sax.html">nice documentation</a>.written by <a href="mailto:james@daa.com.au">James Henstridge</a>.</p><p>You can debug the SAX behaviour by using the <strong>testSAX</strong> program located in the gnome-xml module (it's usually not shipped in the binary packages of libxml, but you can find it in the tar source distribution). Here is the sequence of callbacks that would be reported by testSAX when parsing the example XML document shown earlier:</p><pre>SAX.setDocumentLocator() SAX.startDocument() SAX.getEntity(amp) SAX.startElement(EXAMPLE, prop1='gnome is great', prop2='&amp; linux too') SAX.characters( , 3) SAX.startElement(head) SAX.characters( , 4) SAX.startElement(title) SAX.characters(Welcome to Gnome, 16) SAX.endElement(title) SAX.characters( , 3) SAX.endElement(head) SAX.characters( , 3) SAX.startElement(chapter) SAX.characters( , 4) SAX.startElement(title) SAX.characters(The Linux adventure, 19) SAX.endElement(title) SAX.characters( , 4) SAX.startElement(p) SAX.characters(bla bla bla ..., 15) SAX.endElement(p) SAX.characters( , 4) SAX.startElement(image, href='linus.gif') SAX.endElement(image) SAX.characters( , 4) SAX.startElement(p) SAX.characters(..., 3) SAX.endElement(p) SAX.characters( , 3) SAX.endElement(chapter) SAX.characters( , 1) SAX.endElement(EXAMPLE) SAX.endDocument()</pre><p>Most of the other interfaces of libxml2 are based on the DOM tree-building facility, so nearly everything up to the end of this document presupposes the use of the standard DOM tree build. Note that the DOM tree itself is built by a set of registered default callbacks, without internal specific interface.</p><p><a href="bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body></html>