gtksourceview2 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +57 -0
- data/README +29 -0
- data/Rakefile +14 -0
- data/ext/gtksourceview2/depend +5 -0
- data/ext/gtksourceview2/extconf.rb +73 -0
- data/ext/gtksourceview2/gtksourceview2.def +2 -0
- data/ext/gtksourceview2/rbgtksourcebuffer.c +401 -0
- data/ext/gtksourceview2/rbgtksourceiter.c +110 -0
- data/ext/gtksourceview2/rbgtksourcelanguage.c +126 -0
- data/ext/gtksourceview2/rbgtksourcelanguagemanager.c +188 -0
- data/ext/gtksourceview2/rbgtksourcemain.c +38 -0
- data/ext/gtksourceview2/rbgtksourcemain.h +32 -0
- data/ext/gtksourceview2/rbgtksourcemark.c +90 -0
- data/ext/gtksourceview2/rbgtksourceprintcompositor.c +249 -0
- data/ext/gtksourceview2/rbgtksourcestyle.c +48 -0
- data/ext/gtksourceview2/rbgtksourcestylescheme.c +71 -0
- data/ext/gtksourceview2/rbgtksourcestyleschememanager.c +211 -0
- data/ext/gtksourceview2/rbgtksourceview.c +239 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gtksourceview2.so +0 -0
- data/lib/1.9/gtksourceview2.so +0 -0
- data/lib/gtksourceview2.rb +2 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +33 -0
- data/test/test_source_view.rb +17 -0
- data/vendor/local/bin/libgtksourceview-2.0-0.dll +0 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +67 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcebuffer.h +181 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletion.h +131 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletioncontext.h +98 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletioninfo.h +82 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionitem.h +71 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionproposal.h +76 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionprovider.h +119 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcegutter.h +106 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceiter.h +53 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguage.h +83 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguagemanager.h +86 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceprintcompositor.h +177 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestyle.h +41 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestylescheme.h +91 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestyleschememanager.h +90 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceundomanager.h +77 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceview-typebuiltins.h +44 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceview.h +272 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +304 -0
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
- data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
- data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
- data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
- data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
- data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
- data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
- data/vendor/local/include/libxml2/libxml/dict.h +69 -0
- data/vendor/local/include/libxml2/libxml/encoding.h +226 -0
- data/vendor/local/include/libxml2/libxml/entities.h +150 -0
- data/vendor/local/include/libxml2/libxml/globals.h +502 -0
- data/vendor/local/include/libxml2/libxml/hash.h +233 -0
- data/vendor/local/include/libxml2/libxml/list.h +137 -0
- data/vendor/local/include/libxml2/libxml/nanoftp.h +143 -0
- data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
- data/vendor/local/include/libxml2/libxml/parser.h +1235 -0
- data/vendor/local/include/libxml2/libxml/parserInternals.h +611 -0
- data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
- data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
- data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
- data/vendor/local/include/libxml2/libxml/threads.h +84 -0
- data/vendor/local/include/libxml2/libxml/tree.h +1252 -0
- data/vendor/local/include/libxml2/libxml/uri.h +94 -0
- data/vendor/local/include/libxml2/libxml/valid.h +458 -0
- data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
- data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
- data/vendor/local/include/libxml2/libxml/xmlIO.h +360 -0
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
- data/vendor/local/include/libxml2/libxml/xmlerror.h +944 -0
- data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
- data/vendor/local/include/libxml2/libxml/xmlreader.h +424 -0
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
- data/vendor/local/include/libxml2/libxml/xmlsave.h +87 -0
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +218 -0
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
- data/vendor/local/include/libxml2/libxml/xmlversion.h +458 -0
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +485 -0
- data/vendor/local/include/libxml2/libxml/xpath.h +546 -0
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +630 -0
- data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
- data/vendor/local/lib/libgtksourceview-2.0.dll.a +0 -0
- data/vendor/local/lib/libxml2.def +1657 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
- data/vendor/local/manifest/libxml2-dev_2.7.7-1_win32.mft +267 -0
- data/vendor/local/manifest/libxml2_2.7.7-1_win32.mft +2 -0
- data/vendor/local/share/aclocal/libxml.m4 +188 -0
- data/vendor/local/share/doc/libxml2-2.7.7/Copyright +27 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testHTML.c +880 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testSAX.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testXPath.c +227 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/xmllint.c +3722 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/FAQ.html +282 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/encoding.html +206 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xml +751 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xsl +174 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/book1.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/index.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-DOCBparser.html +51 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLparser.html +182 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLtree.html +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX.html +125 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX2.html +128 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-c14n.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-catalog.html +142 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-chvalid.html +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-debugXML.html +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-dict.html +49 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-encoding.html +118 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-entities.html +79 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-globals.html +152 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-hash.html +116 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-lib.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-list.html +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanoftp.html +92 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanohttp.html +65 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parser.html +555 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parserInternals.html +319 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-pattern.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-relaxng.html +162 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schemasInternals.html +373 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schematron.html +81 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-threads.html +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-tree.html +958 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-uri.html +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-valid.html +289 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xinclude.html +59 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xlink.html +82 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlIO.html +206 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlautomata.html +85 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlerror.html +862 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlexports.html +20 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmemory.html +107 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmodule.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlreader.html +327 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlregexp.html +143 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlsave.html +59 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemas.html +173 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemastypes.html +123 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlstring.html +108 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlunicode.html +512 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlversion.html +60 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlwriter.html +258 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpath.html +307 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpathInternals.html +394 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpointer.html +83 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io1.c +166 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io2.c +58 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io2.res +2 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse1.c +56 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse2.c +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse3.c +60 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse4.c +143 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.c +107 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.res +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader2.c +122 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.c +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.res +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.c +122 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.res +3 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test1.xml +1 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test2.xml +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test3.xml +39 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/testWriter.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.c +94 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.res +4 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.c +118 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.res +18 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tst.xml +7 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apa.html +8 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apb.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apc.html +82 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apd.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ape.html +78 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apf.html +67 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apg.html +75 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/aph.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/api.html +4 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s02.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s03.html +47 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s04.html +54 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s05.html +55 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s06.html +35 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s07.html +30 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s08.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s09.html +63 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddattribute.c +64 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddkeyword.c +75 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeconvert.c +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includegetattribute.c +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includekeyword.c +79 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includexpath.c +74 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ix01.html +1 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/xmltutorial.pdf +1336 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/writer.xml +2 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xml.html +5344 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.c +250 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.c +190 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.res +30 -0
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +371 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +119 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +208 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +177 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +762 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +673 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1542 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +337 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +950 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +560 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +132 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +299 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +277 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +474 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +529 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3529 -0
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/R.lang +128 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ada.lang +220 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/asp.lang +1096 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/awk.lang +137 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/bibtex.lang +92 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/boo.lang +256 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/c.lang +272 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cg.lang +231 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/changelog.lang +91 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/chdr.lang +42 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cmake.lang +407 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cpp.lang +106 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/csharp.lang +280 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/css.lang +516 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cuda.lang +288 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/d.lang +295 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/def.lang +268 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/desktop.lang +299 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/diff.lang +84 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/docbook.lang +475 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dosbatch.lang +166 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dot.lang +139 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dpatch.lang +47 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dtd.lang +139 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/eiffel.lang +238 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/erlang.lang +248 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/forth.lang +234 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fortran.lang +511 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fsharp.lang +322 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gap.lang +84 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/glsl.lang +482 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gtk-doc.lang +90 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gtkrc.lang +115 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haddock.lang +161 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haskell-literate.lang +58 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haskell.lang +226 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/html.lang +160 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/idl.lang +153 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ini.lang +94 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/java.lang +208 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/javascript.lang +334 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language.dtd +72 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language.rng +372 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language2.rng +490 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/latex.lang +298 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/libtool.lang +55 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/lua.lang +156 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/m4.lang +803 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/makefile.lang +195 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/mallard.lang +122 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/msil.lang +490 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/nemerle.lang +262 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/nsis.lang +87 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/objc.lang +119 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ocaml.lang +299 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ocl.lang +138 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/octave.lang +238 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ooc.lang +264 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/pascal.lang +264 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/perl.lang +1017 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/php.lang +329 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/pkgconfig.lang +61 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/prolog.lang +248 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/python.lang +390 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/rpmspec.lang +204 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ruby.lang +588 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/scheme.lang +301 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sparql.lang +447 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sql.lang +617 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/styles.rng +138 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/t2t.lang +149 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/tcl.lang +145 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/texinfo.lang +447 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vala.lang +227 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vbnet.lang +244 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/verilog.lang +249 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vhdl.lang +247 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/xml.lang +219 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/xslt.lang +107 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/yacc.lang +172 -0
- data/vendor/local/share/gtksourceview-2.0/styles/classic.xml +99 -0
- data/vendor/local/share/gtksourceview-2.0/styles/cobalt.xml +134 -0
- data/vendor/local/share/gtksourceview-2.0/styles/kate.xml +155 -0
- data/vendor/local/share/gtksourceview-2.0/styles/oblivion.xml +112 -0
- data/vendor/local/share/gtksourceview-2.0/styles/styles.rng +138 -0
- data/vendor/local/share/gtksourceview-2.0/styles/tango.xml +116 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/man/man1/xml2-config.1 +31 -0
- data/vendor/local/share/man/man1/xmlcatalog.1 +229 -0
- data/vendor/local/share/man/man1/xmllint.1 +427 -0
- data/vendor/local/share/man/man3/libxml.3 +71 -0
- data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.log +1244 -0
- data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.sh +66 -0
- metadata +567 -0
@@ -0,0 +1,371 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
5
|
+
<title>HTMLparser: interface for an HTML 4.0 non-verifying parser</title>
|
6
|
+
<meta name="generator" content="Libxml2 devhelp stylesheet"/>
|
7
|
+
<link rel="start" href="index.html" title="libxml2 Reference Manual"/>
|
8
|
+
<link rel="up" href="general.html" title="API"/>
|
9
|
+
<link rel="stylesheet" href="style.css" type="text/css"/>
|
10
|
+
<link rel="chapter" href="general.html" title="API"/>
|
11
|
+
</head>
|
12
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
13
|
+
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
14
|
+
<tr valign="middle">
|
15
|
+
<td>
|
16
|
+
<a accesskey="p" href="libxml2-DOCBparser.html">
|
17
|
+
<img src="left.png" width="24" height="24" border="0" alt="Prev"/>
|
18
|
+
</a>
|
19
|
+
</td>
|
20
|
+
<td>
|
21
|
+
<a accesskey="u" href="general.html">
|
22
|
+
<img src="up.png" width="24" height="24" border="0" alt="Up"/>
|
23
|
+
</a>
|
24
|
+
</td>
|
25
|
+
<td>
|
26
|
+
<a accesskey="h" href="index.html">
|
27
|
+
<img src="home.png" width="24" height="24" border="0" alt="Home"/>
|
28
|
+
</a>
|
29
|
+
</td>
|
30
|
+
<td>
|
31
|
+
<a accesskey="n" href="libxml2-HTMLtree.html">
|
32
|
+
<img src="right.png" width="24" height="24" border="0" alt="Next"/>
|
33
|
+
</a>
|
34
|
+
</td>
|
35
|
+
<th width="100%" align="center">libxml2 Reference Manual</th>
|
36
|
+
</tr>
|
37
|
+
</table>
|
38
|
+
<h2>
|
39
|
+
<span class="refentrytitle">HTMLparser</span>
|
40
|
+
</h2>
|
41
|
+
<p>HTMLparser - interface for an HTML 4.0 non-verifying parser</p>
|
42
|
+
<p>this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view. </p>
|
43
|
+
<p>Author(s): Daniel Veillard </p>
|
44
|
+
<div class="refsynopsisdiv">
|
45
|
+
<h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis">#define <a href="#htmlDefaultSubelement">htmlDefaultSubelement</a>(elt);
|
47
|
+
#define <a href="#htmlElementAllowedHereDesc">htmlElementAllowedHereDesc</a>(parent, elt);
|
48
|
+
#define <a href="#htmlRequiredAttrs">htmlRequiredAttrs</a>(elt);
|
49
|
+
typedef <a href="libxml2-parser.html#xmlParserNodeInfo">xmlParserNodeInfo</a> <a href="#htmlParserNodeInfo">htmlParserNodeInfo</a>;
|
50
|
+
typedef <a href="libxml2-tree.html#xmlParserInput">xmlParserInput</a> <a href="#htmlParserInput">htmlParserInput</a>;
|
51
|
+
typedef <a href="libxml2-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> <a href="#htmlParserCtxtPtr">htmlParserCtxtPtr</a>;
|
52
|
+
typedef struct _htmlEntityDesc <a href="#htmlEntityDesc">htmlEntityDesc</a>;
|
53
|
+
typedef <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#htmlDocPtr">htmlDocPtr</a>;
|
54
|
+
typedef <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> <a href="#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a>;
|
55
|
+
typedef enum <a href="#htmlStatus">htmlStatus</a>;
|
56
|
+
typedef <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#htmlNodePtr">htmlNodePtr</a>;
|
57
|
+
typedef <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * <a href="#htmlElemDescPtr">htmlElemDescPtr</a>;
|
58
|
+
typedef struct _htmlElemDesc <a href="#htmlElemDesc">htmlElemDesc</a>;
|
59
|
+
typedef <a href="libxml2-tree.html#xmlSAXHandler">xmlSAXHandler</a> <a href="#htmlSAXHandler">htmlSAXHandler</a>;
|
60
|
+
typedef <a href="libxml2-tree.html#xmlParserInputPtr">xmlParserInputPtr</a> <a href="#htmlParserInputPtr">htmlParserInputPtr</a>;
|
61
|
+
typedef enum <a href="#htmlParserOption">htmlParserOption</a>;
|
62
|
+
typedef <a href="libxml2-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * <a href="#htmlEntityDescPtr">htmlEntityDescPtr</a>;
|
63
|
+
typedef <a href="libxml2-tree.html#xmlParserCtxt">xmlParserCtxt</a> <a href="#htmlParserCtxt">htmlParserCtxt</a>;
|
64
|
+
int <a href="#htmlIsScriptAttribute">htmlIsScriptAttribute</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name);
|
65
|
+
int <a href="#htmlHandleOmittedElem">htmlHandleOmittedElem</a> (int val);
|
66
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadFd">htmlReadFd</a> (int fd, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
|
67
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadIO">htmlReadIO</a> (<a href="libxml2-xmlIO.html#xmlInputReadCallback">xmlInputReadCallback</a> ioread, <br/> <a href="libxml2-xmlIO.html#xmlInputCloseCallback">xmlInputCloseCallback</a> ioclose, <br/> void * ioctx, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
|
68
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlParseFile">htmlParseFile</a> (const char * filename, <br/> const char * encoding);
|
69
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlCtxtReadDoc">htmlCtxtReadDoc</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
|
70
|
+
int <a href="#htmlAutoCloseTag">htmlAutoCloseTag</a> (<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> doc, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> <a href="libxml2-HTMLparser.html#htmlNodePtr">htmlNodePtr</a> elem);
|
71
|
+
int <a href="#htmlParseChunk">htmlParseChunk</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const char * chunk, <br/> int size, <br/> int terminate);
|
72
|
+
const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * <a href="#htmlTagLookup">htmlTagLookup</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * tag);
|
73
|
+
<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> <a href="#htmlCreateMemoryParserCtxt">htmlCreateMemoryParserCtxt</a> (const char * buffer, <br/> int size);
|
74
|
+
void <a href="#htmlCtxtReset">htmlCtxtReset</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt);
|
75
|
+
int <a href="#htmlElementAllowedHere">htmlElementAllowedHere</a> (const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * parent, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elt);
|
76
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlCtxtReadIO">htmlCtxtReadIO</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlIO.html#xmlInputReadCallback">xmlInputReadCallback</a> ioread, <br/> <a href="libxml2-xmlIO.html#xmlInputCloseCallback">xmlInputCloseCallback</a> ioclose, <br/> void * ioctx, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
|
77
|
+
<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> <a href="#htmlCreatePushParserCtxt">htmlCreatePushParserCtxt</a> (<a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * user_data, <br/> const char * chunk, <br/> int size, <br/> const char * filename, <br/> <a href="libxml2-encoding.html#xmlCharEncoding">xmlCharEncoding</a> enc);
|
78
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadMemory">htmlReadMemory</a> (const char * buffer, <br/> int size, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
|
79
|
+
int <a href="#htmlIsAutoClosed">htmlIsAutoClosed</a> (<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> doc, <br/> <a href="libxml2-HTMLparser.html#htmlNodePtr">htmlNodePtr</a> elem);
|
80
|
+
int <a href="#htmlParseCharRef">htmlParseCharRef</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt);
|
81
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadDoc">htmlReadDoc</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
|
82
|
+
int <a href="#htmlEncodeEntities">htmlEncodeEntities</a> (unsigned char * out, <br/> int * outlen, <br/> const unsigned char * in, <br/> int * inlen, <br/> int quoteChar);
|
83
|
+
<a href="libxml2-HTMLparser.html#htmlStatus">htmlStatus</a> <a href="#htmlNodeStatus">htmlNodeStatus</a> (const <a href="libxml2-HTMLparser.html#htmlNodePtr">htmlNodePtr</a> node, <br/> int legacy);
|
84
|
+
<a href="libxml2-HTMLparser.html#htmlStatus">htmlStatus</a> <a href="#htmlAttrAllowed">htmlAttrAllowed</a> (const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * elt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * attr, <br/> int legacy);
|
85
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlSAXParseFile">htmlSAXParseFile</a> (const char * filename, <br/> const char * encoding, <br/> <a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * userData);
|
86
|
+
const <a href="libxml2-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * <a href="#htmlParseEntityRef">htmlParseEntityRef</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** str);
|
87
|
+
<a href="libxml2-HTMLparser.html#htmlStatus">htmlStatus</a> <a href="#htmlElementStatusHere">htmlElementStatusHere</a> (const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * parent, <br/> const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * elt);
|
88
|
+
const <a href="libxml2-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * <a href="#htmlEntityValueLookup">htmlEntityValueLookup</a> (unsigned int value);
|
89
|
+
void <a href="#htmlParseElement">htmlParseElement</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt);
|
90
|
+
int <a href="#UTF8ToHtml">UTF8ToHtml</a> (unsigned char * out, <br/> int * outlen, <br/> const unsigned char * in, <br/> int * inlen);
|
91
|
+
const <a href="libxml2-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * <a href="#htmlEntityLookup">htmlEntityLookup</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name);
|
92
|
+
void <a href="#htmlFreeParserCtxt">htmlFreeParserCtxt</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt);
|
93
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlCtxtReadMemory">htmlCtxtReadMemory</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const char * buffer, <br/> int size, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
|
94
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlCtxtReadFd">htmlCtxtReadFd</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> int fd, <br/> const char * URL, <br/> const char * encoding, <br/> int options);
|
95
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadFile">htmlReadFile</a> (const char * filename, <br/> const char * encoding, <br/> int options);
|
96
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlCtxtReadFile">htmlCtxtReadFile</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const char * filename, <br/> const char * encoding, <br/> int options);
|
97
|
+
int <a href="#htmlParseDocument">htmlParseDocument</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt);
|
98
|
+
<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> <a href="#htmlNewParserCtxt">htmlNewParserCtxt</a> (void);
|
99
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlSAXParseDoc">htmlSAXParseDoc</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding, <br/> <a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * userData);
|
100
|
+
int <a href="#htmlCtxtUseOptions">htmlCtxtUseOptions</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> int options);
|
101
|
+
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlParseDoc">htmlParseDoc</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding);
|
102
|
+
</pre>
|
103
|
+
</div>
|
104
|
+
<div class="refsect1" lang="en">
|
105
|
+
<h2>Description</h2>
|
106
|
+
</div>
|
107
|
+
<div class="refsect1" lang="en">
|
108
|
+
<h2>Details</h2>
|
109
|
+
<div class="refsect2" lang="en">
|
110
|
+
<div class="refsect2" lang="en"><h3><a name="htmlDefaultSubelement">Macro </a>htmlDefaultSubelement</h3><pre class="programlisting">#define <a href="#htmlDefaultSubelement">htmlDefaultSubelement</a>(elt);
|
111
|
+
</pre><p>Returns the default subelement for this element</p><div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>elt</tt></i>:</span></td><td>HTML element</td></tr></tbody></table></div>
|
112
|
+
</div>
|
113
|
+
<hr/>
|
114
|
+
<div class="refsect2" lang="en"><h3><a name="htmlElementAllowedHereDesc">Macro </a>htmlElementAllowedHereDesc</h3><pre class="programlisting">#define <a href="#htmlElementAllowedHereDesc">htmlElementAllowedHereDesc</a>(parent, elt);
|
115
|
+
</pre><p>Checks whether an HTML element description may be a direct child of the specified element. Returns 1 if allowed; 0 otherwise.</p><div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>parent</tt></i>:</span></td><td>HTML parent element</td></tr><tr><td><span class="term"><i><tt>elt</tt></i>:</span></td><td>HTML element</td></tr></tbody></table></div>
|
116
|
+
</div>
|
117
|
+
<hr/>
|
118
|
+
<div class="refsect2" lang="en"><h3><a name="htmlRequiredAttrs">Macro </a>htmlRequiredAttrs</h3><pre class="programlisting">#define <a href="#htmlRequiredAttrs">htmlRequiredAttrs</a>(elt);
|
119
|
+
</pre><p>Returns the attributes required for the specified element.</p><div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>elt</tt></i>:</span></td><td>HTML element</td></tr></tbody></table></div>
|
120
|
+
</div>
|
121
|
+
<hr/>
|
122
|
+
<div class="refsect2" lang="en"><h3><a name="htmlDocPtr">Typedef </a>htmlDocPtr</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> htmlDocPtr;
|
123
|
+
</pre><p/>
|
124
|
+
</div>
|
125
|
+
<hr/>
|
126
|
+
<div class="refsect2" lang="en"><h3><a name="htmlElemDesc">Structure </a>htmlElemDesc</h3><pre class="programlisting">struct _htmlElemDesc {
|
127
|
+
const char * name : The tag name
|
128
|
+
char startTag : Whether the start tag can be implied
|
129
|
+
char endTag : Whether the end tag can be implied
|
130
|
+
char saveEndTag : Whether the end tag should be saved
|
131
|
+
char empty : Is this an empty element ?
|
132
|
+
char depr : Is this a deprecated element ?
|
133
|
+
char dtd : 1: only in Loose DTD, 2: only Frameset one
|
134
|
+
char isinline : is this a block 0 or inline 1 element
|
135
|
+
const char * desc : the description NRK Jan.2003 * New fields encapsulating HTML structur
|
136
|
+
const char ** subelts : allowed sub-elements of this element
|
137
|
+
const char * defaultsubelt : subelement for suggested auto-repair if necessary or NULL
|
138
|
+
const char ** attrs_opt : Optional Attributes
|
139
|
+
const char ** attrs_depr : Additional deprecated attributes
|
140
|
+
const char ** attrs_req : Required attributes
|
141
|
+
} htmlElemDesc;
|
142
|
+
</pre><p/>
|
143
|
+
</div>
|
144
|
+
<hr/>
|
145
|
+
<div class="refsect2" lang="en"><h3><a name="htmlElemDescPtr">Typedef </a>htmlElemDescPtr</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * htmlElemDescPtr;
|
146
|
+
</pre><p/>
|
147
|
+
</div>
|
148
|
+
<hr/>
|
149
|
+
<div class="refsect2" lang="en"><h3><a name="htmlEntityDesc">Structure </a>htmlEntityDesc</h3><pre class="programlisting">struct _htmlEntityDesc {
|
150
|
+
unsigned int value : the UNICODE value for the character
|
151
|
+
const char * name : The entity name
|
152
|
+
const char * desc : the description
|
153
|
+
} htmlEntityDesc;
|
154
|
+
</pre><p/>
|
155
|
+
</div>
|
156
|
+
<hr/>
|
157
|
+
<div class="refsect2" lang="en"><h3><a name="htmlEntityDescPtr">Typedef </a>htmlEntityDescPtr</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * htmlEntityDescPtr;
|
158
|
+
</pre><p/>
|
159
|
+
</div>
|
160
|
+
<hr/>
|
161
|
+
<div class="refsect2" lang="en"><h3><a name="htmlNodePtr">Typedef </a>htmlNodePtr</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> htmlNodePtr;
|
162
|
+
</pre><p/>
|
163
|
+
</div>
|
164
|
+
<hr/>
|
165
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParserCtxt">Typedef </a>htmlParserCtxt</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlParserCtxt">xmlParserCtxt</a> htmlParserCtxt;
|
166
|
+
</pre><p/>
|
167
|
+
</div>
|
168
|
+
<hr/>
|
169
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParserCtxtPtr">Typedef </a>htmlParserCtxtPtr</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> htmlParserCtxtPtr;
|
170
|
+
</pre><p/>
|
171
|
+
</div>
|
172
|
+
<hr/>
|
173
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParserInput">Typedef </a>htmlParserInput</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlParserInput">xmlParserInput</a> htmlParserInput;
|
174
|
+
</pre><p/>
|
175
|
+
</div>
|
176
|
+
<hr/>
|
177
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParserInputPtr">Typedef </a>htmlParserInputPtr</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlParserInputPtr">xmlParserInputPtr</a> htmlParserInputPtr;
|
178
|
+
</pre><p/>
|
179
|
+
</div>
|
180
|
+
<hr/>
|
181
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParserNodeInfo">Typedef </a>htmlParserNodeInfo</h3><pre class="programlisting"><a href="libxml2-parser.html#xmlParserNodeInfo">xmlParserNodeInfo</a> htmlParserNodeInfo;
|
182
|
+
</pre><p/>
|
183
|
+
</div>
|
184
|
+
<hr/>
|
185
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParserOption">Enum </a>htmlParserOption</h3><pre class="programlisting">enum <a href="#htmlParserOption">htmlParserOption</a> {
|
186
|
+
<a name="HTML_PARSE_RECOVER">HTML_PARSE_RECOVER</a> = 1 /* Relaxed parsing */
|
187
|
+
<a name="HTML_PARSE_NOERROR">HTML_PARSE_NOERROR</a> = 32 /* suppress error reports */
|
188
|
+
<a name="HTML_PARSE_NOWARNING">HTML_PARSE_NOWARNING</a> = 64 /* suppress warning reports */
|
189
|
+
<a name="HTML_PARSE_PEDANTIC">HTML_PARSE_PEDANTIC</a> = 128 /* pedantic error reporting */
|
190
|
+
<a name="HTML_PARSE_NOBLANKS">HTML_PARSE_NOBLANKS</a> = 256 /* remove blank nodes */
|
191
|
+
<a name="HTML_PARSE_NONET">HTML_PARSE_NONET</a> = 2048 /* Forbid network access */
|
192
|
+
<a name="HTML_PARSE_NOIMPLIED">HTML_PARSE_NOIMPLIED</a> = 8192 /* Do not add implied html/body... elements */
|
193
|
+
<a name="HTML_PARSE_COMPACT">HTML_PARSE_COMPACT</a> = 65536 /* compact small text nodes */
|
194
|
+
};
|
195
|
+
</pre><p/>
|
196
|
+
</div>
|
197
|
+
<hr/>
|
198
|
+
<div class="refsect2" lang="en"><h3><a name="htmlSAXHandler">Typedef </a>htmlSAXHandler</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlSAXHandler">xmlSAXHandler</a> htmlSAXHandler;
|
199
|
+
</pre><p/>
|
200
|
+
</div>
|
201
|
+
<hr/>
|
202
|
+
<div class="refsect2" lang="en"><h3><a name="htmlSAXHandlerPtr">Typedef </a>htmlSAXHandlerPtr</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> htmlSAXHandlerPtr;
|
203
|
+
</pre><p/>
|
204
|
+
</div>
|
205
|
+
<hr/>
|
206
|
+
<div class="refsect2" lang="en"><h3><a name="htmlStatus">Enum </a>htmlStatus</h3><pre class="programlisting">enum <a href="#htmlStatus">htmlStatus</a> {
|
207
|
+
<a name="HTML_NA">HTML_NA</a> = 0 /* something we don't check at all */
|
208
|
+
<a name="HTML_INVALID">HTML_INVALID</a> = 1
|
209
|
+
<a name="HTML_DEPRECATED">HTML_DEPRECATED</a> = 2
|
210
|
+
<a name="HTML_VALID">HTML_VALID</a> = 4
|
211
|
+
<a name="HTML_REQUIRED">HTML_REQUIRED</a> = 12 /* VALID bit set so ( & HTML_VALID ) is TRUE */
|
212
|
+
};
|
213
|
+
</pre><p/>
|
214
|
+
</div>
|
215
|
+
<hr/>
|
216
|
+
<div class="refsect2" lang="en"><h3><a name="UTF8ToHtml"/>UTF8ToHtml ()</h3><pre class="programlisting">int UTF8ToHtml (unsigned char * out, <br/> int * outlen, <br/> const unsigned char * in, <br/> int * inlen)<br/>
|
217
|
+
</pre><p>Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out.</p>
|
218
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>out</tt></i>:</span></td><td>a pointer to an array of bytes to store the result</td></tr><tr><td><span class="term"><i><tt>outlen</tt></i>:</span></td><td>the length of @out</td></tr><tr><td><span class="term"><i><tt>in</tt></i>:</span></td><td>a pointer to an array of UTF-8 chars</td></tr><tr><td><span class="term"><i><tt>inlen</tt></i>:</span></td><td>the length of @in</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.</td></tr></tbody></table></div></div>
|
219
|
+
<hr/>
|
220
|
+
<div class="refsect2" lang="en"><h3><a name="htmlAttrAllowed"/>htmlAttrAllowed ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlStatus">htmlStatus</a> htmlAttrAllowed (const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * elt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * attr, <br/> int legacy)<br/>
|
221
|
+
</pre><p>Checks whether an <a href="libxml2-SAX.html#attribute">attribute</a> is valid for an element Has full knowledge of Required and Deprecated attributes</p>
|
222
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>elt</tt></i>:</span></td><td>HTML element</td></tr><tr><td><span class="term"><i><tt>attr</tt></i>:</span></td><td>HTML <a href="libxml2-SAX.html#attribute">attribute</a></td></tr><tr><td><span class="term"><i><tt>legacy</tt></i>:</span></td><td>whether to allow deprecated attributes</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>one of HTML_REQUIRED, HTML_VALID, HTML_DEPRECATED, <a href="libxml2-HTMLparser.html#HTML_INVALID">HTML_INVALID</a></td></tr></tbody></table></div></div>
|
223
|
+
<hr/>
|
224
|
+
<div class="refsect2" lang="en"><h3><a name="htmlAutoCloseTag"/>htmlAutoCloseTag ()</h3><pre class="programlisting">int htmlAutoCloseTag (<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> doc, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> <a href="libxml2-HTMLparser.html#htmlNodePtr">htmlNodePtr</a> elem)<br/>
|
225
|
+
</pre><p>The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if the element or one of it's children would autoclose the given tag.</p>
|
226
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the HTML document</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>The tag name</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the HTML element</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if autoclose, 0 otherwise</td></tr></tbody></table></div></div>
|
227
|
+
<hr/>
|
228
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCreateMemoryParserCtxt"/>htmlCreateMemoryParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> htmlCreateMemoryParserCtxt (const char * buffer, <br/> int size)<br/>
|
229
|
+
</pre><p>Create a parser context for an HTML in-memory document.</p>
|
230
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new parser context or NULL</td></tr></tbody></table></div></div>
|
231
|
+
<hr/>
|
232
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCreatePushParserCtxt"/>htmlCreatePushParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> htmlCreatePushParserCtxt (<a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * user_data, <br/> const char * chunk, <br/> int size, <br/> const char * filename, <br/> <a href="libxml2-encoding.html#xmlCharEncoding">xmlCharEncoding</a> enc)<br/>
|
233
|
+
</pre><p>Create a parser context for using the HTML parser in push mode The value of @filename is used for fetching external entities and error/warning reports.</p>
|
234
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>a SAX handler</td></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>The user data returned on SAX callbacks</td></tr><tr><td><span class="term"><i><tt>chunk</tt></i>:</span></td><td>a pointer to an array of chars</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>number of chars in the array</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>an optional file name or URI</td></tr><tr><td><span class="term"><i><tt>enc</tt></i>:</span></td><td>an optional encoding</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new parser context or NULL</td></tr></tbody></table></div></div>
|
235
|
+
<hr/>
|
236
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCtxtReadDoc"/>htmlCtxtReadDoc ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlCtxtReadDoc (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * URL, <br/> const char * encoding, <br/> int options)<br/>
|
237
|
+
</pre><p>parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context</p>
|
238
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to a zero terminated string</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
239
|
+
<hr/>
|
240
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCtxtReadFd"/>htmlCtxtReadFd ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlCtxtReadFd (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> int fd, <br/> const char * URL, <br/> const char * encoding, <br/> int options)<br/>
|
241
|
+
</pre><p>parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context</p>
|
242
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
243
|
+
<hr/>
|
244
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCtxtReadFile"/>htmlCtxtReadFile ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlCtxtReadFile (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const char * filename, <br/> const char * encoding, <br/> int options)<br/>
|
245
|
+
</pre><p>parse an XML file from the filesystem or the network. This reuses the existing @ctxt parser context</p>
|
246
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
247
|
+
<hr/>
|
248
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCtxtReadIO"/>htmlCtxtReadIO ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlCtxtReadIO (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlIO.html#xmlInputReadCallback">xmlInputReadCallback</a> ioread, <br/> <a href="libxml2-xmlIO.html#xmlInputCloseCallback">xmlInputCloseCallback</a> ioclose, <br/> void * ioctx, <br/> const char * URL, <br/> const char * encoding, <br/> int options)<br/>
|
249
|
+
</pre><p>parse an HTML document from I/O functions and source and build a tree. This reuses the existing @ctxt parser context</p>
|
250
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
251
|
+
<hr/>
|
252
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCtxtReadMemory"/>htmlCtxtReadMemory ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlCtxtReadMemory (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const char * buffer, <br/> int size, <br/> const char * URL, <br/> const char * encoding, <br/> int options)<br/>
|
253
|
+
</pre><p>parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context</p>
|
254
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
255
|
+
<hr/>
|
256
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCtxtReset"/>htmlCtxtReset ()</h3><pre class="programlisting">void htmlCtxtReset (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)<br/>
|
257
|
+
</pre><p>Reset a parser context</p>
|
258
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr></tbody></table></div></div>
|
259
|
+
<hr/>
|
260
|
+
<div class="refsect2" lang="en"><h3><a name="htmlCtxtUseOptions"/>htmlCtxtUseOptions ()</h3><pre class="programlisting">int htmlCtxtUseOptions (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> int options)<br/>
|
261
|
+
</pre><p>Applies the options to the parser context</p>
|
262
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, the set of unknown or unimplemented options in case of error.</td></tr></tbody></table></div></div>
|
263
|
+
<hr/>
|
264
|
+
<div class="refsect2" lang="en"><h3><a name="htmlElementAllowedHere"/>htmlElementAllowedHere ()</h3><pre class="programlisting">int htmlElementAllowedHere (const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * parent, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elt)<br/>
|
265
|
+
</pre><p>Checks whether an HTML element may be a direct child of a parent element. Note - doesn't check for deprecated elements</p>
|
266
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>parent</tt></i>:</span></td><td>HTML parent element</td></tr><tr><td><span class="term"><i><tt>elt</tt></i>:</span></td><td>HTML element</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if allowed; 0 otherwise.</td></tr></tbody></table></div></div>
|
267
|
+
<hr/>
|
268
|
+
<div class="refsect2" lang="en"><h3><a name="htmlElementStatusHere"/>htmlElementStatusHere ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlStatus">htmlStatus</a> htmlElementStatusHere (const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * parent, <br/> const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * elt)<br/>
|
269
|
+
</pre><p>Checks whether an HTML element may be a direct child of a parent element. and if so whether it is valid or deprecated.</p>
|
270
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>parent</tt></i>:</span></td><td>HTML parent element</td></tr><tr><td><span class="term"><i><tt>elt</tt></i>:</span></td><td>HTML element</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>one of HTML_VALID, HTML_DEPRECATED, <a href="libxml2-HTMLparser.html#HTML_INVALID">HTML_INVALID</a></td></tr></tbody></table></div></div>
|
271
|
+
<hr/>
|
272
|
+
<div class="refsect2" lang="en"><h3><a name="htmlEncodeEntities"/>htmlEncodeEntities ()</h3><pre class="programlisting">int htmlEncodeEntities (unsigned char * out, <br/> int * outlen, <br/> const unsigned char * in, <br/> int * inlen, <br/> int quoteChar)<br/>
|
273
|
+
</pre><p>Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out.</p>
|
274
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>out</tt></i>:</span></td><td>a pointer to an array of bytes to store the result</td></tr><tr><td><span class="term"><i><tt>outlen</tt></i>:</span></td><td>the length of @out</td></tr><tr><td><span class="term"><i><tt>in</tt></i>:</span></td><td>a pointer to an array of UTF-8 chars</td></tr><tr><td><span class="term"><i><tt>inlen</tt></i>:</span></td><td>the length of @in</td></tr><tr><td><span class="term"><i><tt>quoteChar</tt></i>:</span></td><td>the quote character to escape (' or ") or zero.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.</td></tr></tbody></table></div></div>
|
275
|
+
<hr/>
|
276
|
+
<div class="refsect2" lang="en"><h3><a name="htmlEntityLookup"/>htmlEntityLookup ()</h3><pre class="programlisting">const <a href="libxml2-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * htmlEntityLookup (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br/>
|
277
|
+
</pre><p>Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed.</p>
|
278
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the entity name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the associated <a href="libxml2-HTMLparser.html#htmlEntityDescPtr">htmlEntityDescPtr</a> if found, NULL otherwise.</td></tr></tbody></table></div></div>
|
279
|
+
<hr/>
|
280
|
+
<div class="refsect2" lang="en"><h3><a name="htmlEntityValueLookup"/>htmlEntityValueLookup ()</h3><pre class="programlisting">const <a href="libxml2-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * htmlEntityValueLookup (unsigned int value)<br/>
|
281
|
+
</pre><p>Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed.</p>
|
282
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the entity's unicode value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the associated <a href="libxml2-HTMLparser.html#htmlEntityDescPtr">htmlEntityDescPtr</a> if found, NULL otherwise.</td></tr></tbody></table></div></div>
|
283
|
+
<hr/>
|
284
|
+
<div class="refsect2" lang="en"><h3><a name="htmlFreeParserCtxt"/>htmlFreeParserCtxt ()</h3><pre class="programlisting">void htmlFreeParserCtxt (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)<br/>
|
285
|
+
</pre><p>Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed.</p>
|
286
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr></tbody></table></div></div>
|
287
|
+
<hr/>
|
288
|
+
<div class="refsect2" lang="en"><h3><a name="htmlHandleOmittedElem"/>htmlHandleOmittedElem ()</h3><pre class="programlisting">int htmlHandleOmittedElem (int val)<br/>
|
289
|
+
</pre><p>Set and return the previous value for handling HTML omitted tags.</p>
|
290
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>int 0 or 1</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the last value for 0 for no handling, 1 for auto insertion.</td></tr></tbody></table></div></div>
|
291
|
+
<hr/>
|
292
|
+
<div class="refsect2" lang="en"><h3><a name="htmlIsAutoClosed"/>htmlIsAutoClosed ()</h3><pre class="programlisting">int htmlIsAutoClosed (<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> doc, <br/> <a href="libxml2-HTMLparser.html#htmlNodePtr">htmlNodePtr</a> elem)<br/>
|
293
|
+
</pre><p>The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child</p>
|
294
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the HTML document</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>the HTML element</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if autoclosed, 0 otherwise</td></tr></tbody></table></div></div>
|
295
|
+
<hr/>
|
296
|
+
<div class="refsect2" lang="en"><h3><a name="htmlIsScriptAttribute"/>htmlIsScriptAttribute ()</h3><pre class="programlisting">int htmlIsScriptAttribute (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br/>
|
297
|
+
</pre><p>Check if an <a href="libxml2-SAX.html#attribute">attribute</a> is of content type Script</p>
|
298
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>an <a href="libxml2-SAX.html#attribute">attribute</a> name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 is the <a href="libxml2-SAX.html#attribute">attribute</a> is a script 0 otherwise</td></tr></tbody></table></div></div>
|
299
|
+
<hr/>
|
300
|
+
<div class="refsect2" lang="en"><h3><a name="htmlNewParserCtxt"/>htmlNewParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> htmlNewParserCtxt (void)<br/>
|
301
|
+
</pre><p>Allocate and initialize a new parser context.</p>
|
302
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> or NULL in case of allocation error</td></tr></tbody></table></div></div>
|
303
|
+
<hr/>
|
304
|
+
<div class="refsect2" lang="en"><h3><a name="htmlNodeStatus"/>htmlNodeStatus ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlStatus">htmlStatus</a> htmlNodeStatus (const <a href="libxml2-HTMLparser.html#htmlNodePtr">htmlNodePtr</a> node, <br/> int legacy)<br/>
|
305
|
+
</pre><p>Checks whether the tree node is valid. Experimental (the author only uses the HTML enhancements in a SAX parser)</p>
|
306
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>an <a href="libxml2-HTMLparser.html#htmlNodePtr">htmlNodePtr</a> in a tree</td></tr><tr><td><span class="term"><i><tt>legacy</tt></i>:</span></td><td>whether to allow deprecated elements (YES is faster here for Element nodes)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>for Element nodes, a return from <a href="libxml2-HTMLparser.html#htmlElementAllowedHere">htmlElementAllowedHere</a> (if legacy allowed) or <a href="libxml2-HTMLparser.html#htmlElementStatusHere">htmlElementStatusHere</a> (otherwise). for Attribute nodes, a return from <a href="libxml2-HTMLparser.html#htmlAttrAllowed">htmlAttrAllowed</a> for other nodes, <a href="libxml2-HTMLparser.html#HTML_NA">HTML_NA</a> (no checks performed)</td></tr></tbody></table></div></div>
|
307
|
+
<hr/>
|
308
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParseCharRef"/>htmlParseCharRef ()</h3><pre class="programlisting">int htmlParseCharRef (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)<br/>
|
309
|
+
</pre><p>parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';'</p>
|
310
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the value parsed (as an int)</td></tr></tbody></table></div></div>
|
311
|
+
<hr/>
|
312
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParseChunk"/>htmlParseChunk ()</h3><pre class="programlisting">int htmlParseChunk (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const char * chunk, <br/> int size, <br/> int terminate)<br/>
|
313
|
+
</pre><p>Parse a Chunk of memory</p>
|
314
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>chunk</tt></i>:</span></td><td>an char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size in byte of the chunk</td></tr><tr><td><span class="term"><i><tt>terminate</tt></i>:</span></td><td>last chunk indicator</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>zero if no error, the <a href="libxml2-xmlerror.html#xmlParserErrors">xmlParserErrors</a> otherwise.</td></tr></tbody></table></div></div>
|
315
|
+
<hr/>
|
316
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParseDoc"/>htmlParseDoc ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlParseDoc (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding)<br/>
|
317
|
+
</pre><p>parse an HTML in-memory document and build a tree.</p>
|
318
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to an array of <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a></td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>a free form C string describing the HTML document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
319
|
+
<hr/>
|
320
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParseDocument"/>htmlParseDocument ()</h3><pre class="programlisting">int htmlParseDocument (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)<br/>
|
321
|
+
</pre><p>parse an HTML document (and build a tree if using the standard SAX interface).</p>
|
322
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0, -1 in case of error. the parser context is augmented as a result of the parsing.</td></tr></tbody></table></div></div>
|
323
|
+
<hr/>
|
324
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParseElement"/>htmlParseElement ()</h3><pre class="programlisting">void htmlParseElement (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)<br/>
|
325
|
+
</pre><p>parse an HTML element, this is highly recursive this is kept for compatibility with previous code versions [39] element ::= EmptyElemTag | STag content ETag [41] Attribute ::= Name Eq AttValue</p>
|
326
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr></tbody></table></div></div>
|
327
|
+
<hr/>
|
328
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParseEntityRef"/>htmlParseEntityRef ()</h3><pre class="programlisting">const <a href="libxml2-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * htmlParseEntityRef (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** str)<br/>
|
329
|
+
</pre><p>parse an HTML ENTITY references [68] EntityRef ::= '&' Name ';'</p>
|
330
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>location to store the entity name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the associated <a href="libxml2-HTMLparser.html#htmlEntityDescPtr">htmlEntityDescPtr</a> if found, or NULL otherwise, if non-NULL *str will have to be freed by the caller.</td></tr></tbody></table></div></div>
|
331
|
+
<hr/>
|
332
|
+
<div class="refsect2" lang="en"><h3><a name="htmlParseFile"/>htmlParseFile ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlParseFile (const char * filename, <br/> const char * encoding)<br/>
|
333
|
+
</pre><p>parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</p>
|
334
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the filename</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>a free form C string describing the HTML document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
335
|
+
<hr/>
|
336
|
+
<div class="refsect2" lang="en"><h3><a name="htmlReadDoc"/>htmlReadDoc ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlReadDoc (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * URL, <br/> const char * encoding, <br/> int options)<br/>
|
337
|
+
</pre><p>parse an XML in-memory document and build a tree.</p>
|
338
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to a zero terminated string</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
339
|
+
<hr/>
|
340
|
+
<div class="refsect2" lang="en"><h3><a name="htmlReadFd"/>htmlReadFd ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlReadFd (int fd, <br/> const char * URL, <br/> const char * encoding, <br/> int options)<br/>
|
341
|
+
</pre><p>parse an XML from a file descriptor and build a tree.</p>
|
342
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
343
|
+
<hr/>
|
344
|
+
<div class="refsect2" lang="en"><h3><a name="htmlReadFile"/>htmlReadFile ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlReadFile (const char * filename, <br/> const char * encoding, <br/> int options)<br/>
|
345
|
+
</pre><p>parse an XML file from the filesystem or the network.</p>
|
346
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
347
|
+
<hr/>
|
348
|
+
<div class="refsect2" lang="en"><h3><a name="htmlReadIO"/>htmlReadIO ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlReadIO (<a href="libxml2-xmlIO.html#xmlInputReadCallback">xmlInputReadCallback</a> ioread, <br/> <a href="libxml2-xmlIO.html#xmlInputCloseCallback">xmlInputCloseCallback</a> ioclose, <br/> void * ioctx, <br/> const char * URL, <br/> const char * encoding, <br/> int options)<br/>
|
349
|
+
</pre><p>parse an HTML document from I/O functions and source and build a tree.</p>
|
350
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
351
|
+
<hr/>
|
352
|
+
<div class="refsect2" lang="en"><h3><a name="htmlReadMemory"/>htmlReadMemory ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlReadMemory (const char * buffer, <br/> int size, <br/> const char * URL, <br/> const char * encoding, <br/> int options)<br/>
|
353
|
+
</pre><p>parse an XML in-memory document and build a tree.</p>
|
354
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
355
|
+
<hr/>
|
356
|
+
<div class="refsect2" lang="en"><h3><a name="htmlSAXParseDoc"/>htmlSAXParseDoc ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlSAXParseDoc (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding, <br/> <a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * userData)<br/>
|
357
|
+
</pre><p>Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree.</p>
|
358
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to an array of <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a></td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>a free form C string describing the HTML document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>the SAX handler block</td></tr><tr><td><span class="term"><i><tt>userData</tt></i>:</span></td><td>if using SAX, this pointer will be provided on callbacks.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree unless SAX is NULL or the document is not well formed.</td></tr></tbody></table></div></div>
|
359
|
+
<hr/>
|
360
|
+
<div class="refsect2" lang="en"><h3><a name="htmlSAXParseFile"/>htmlSAXParseFile ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlSAXParseFile (const char * filename, <br/> const char * encoding, <br/> <a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * userData)<br/>
|
361
|
+
</pre><p>parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</p>
|
362
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the filename</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>a free form C string describing the HTML document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>the SAX handler block</td></tr><tr><td><span class="term"><i><tt>userData</tt></i>:</span></td><td>if using SAX, this pointer will be provided on callbacks.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree unless SAX is NULL or the document is not well formed.</td></tr></tbody></table></div></div>
|
363
|
+
<hr/>
|
364
|
+
<div class="refsect2" lang="en"><h3><a name="htmlTagLookup"/>htmlTagLookup ()</h3><pre class="programlisting">const <a href="libxml2-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * htmlTagLookup (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * tag)<br/>
|
365
|
+
</pre><p>Lookup the HTML tag in the ElementTable</p>
|
366
|
+
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>tag</tt></i>:</span></td><td>The tag name in lowercase</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the related <a href="libxml2-HTMLparser.html#htmlElemDescPtr">htmlElemDescPtr</a> or NULL if not found.</td></tr></tbody></table></div></div>
|
367
|
+
<hr/>
|
368
|
+
</div>
|
369
|
+
</div>
|
370
|
+
</body>
|
371
|
+
</html>
|