⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xml.html

📁 xml开源解析代码.版本为libxml2-2.6.29,可支持GB3212.网络消息发送XML时很有用.
💻 HTML
📖 第 1 页 / 共 3 页
字号:
  <li>etc ...</li></ol><p></p><h2><a name="Documentat">Developer Menu</a></h2><p>There are several on-line resources related to using libxml:</p><ol>  <li>Use the <a href="search.php">search engine</a> to look up  information.</li>  <li>Check the <a href="FAQ.html">FAQ.</a></li>  <li>Check the <a href="http://xmlsoft.org/html/libxml-lib.html">extensive    documentation</a> automatically extracted from code comments.</li>  <li>Look at the documentation about <a href="encoding.html">libxml    internationalization support</a>.</li>  <li>This page provides a global overview and <a href="example.html">some    examples</a> on how to use libxml.</li>  <li><a href="examples/index.html">Code examples</a></li>  <li>John Fleck's libxml2 tutorial: <a href="tutorial/index.html">html</a>    or <a href="tutorial/xmltutorial.pdf">pdf</a>.</li>  <li>If you need to parse large files, check the <a    href="xmlreader.html">xmlReader</a> API tutorial</li>  <li><a href="mailto:james@daa.com.au">James Henstridge</a> wrote <a    href="http://www.daa.com.au/~james/gnome/xml-sax/xml-sax.html">some nice    documentation</a> explaining how to use the libxml SAX interface.</li>  <li>George Lebl wrote <a    href="http://www-106.ibm.com/developerworks/library/l-gnome3/">an article    for IBM developerWorks</a> about using libxml.</li>  <li>Check <a href="http://svn.gnome.org/viewcvs/libxml2/trunk/TODO?view=markup">the TODO    file</a>.</li>  <li>Read the <a href="upgrade.html">1.x to 2.x upgrade path</a>    description. If you are starting a new project using libxml you should    really use the 2.x version.</li>  <li>And don't forget to look at the <a    href="http://mail.gnome.org/archives/xml/">mailing-list archive</a>.</li></ol><h2><a name="Reporting">Reporting bugs and getting help</a></h2><p>Well, bugs or missing features are always possible, and I will make apoint of fixing them in a timely fashion. The best way to report a bug is touse the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Gnomebug tracking database</a> (make sure to use the "libxml2" module name). Ilook at reports there regularly and it's good to have a reminder when a bugis still open. Be sure to specify that the bug is for the package libxml2.</p><p>For small problems you can try to get help on IRC, the #xml channel onirc.gnome.org (port 6667) usually have a few person subscribed which may help(but there is no guarantee and if a real issue is raised it should go on themailing-list for archival).</p><p>There is also a mailing-list <ahref="mailto:xml@gnome.org">xml@gnome.org</a> for libxml, with an  <ahref="http://mail.gnome.org/archives/xml/">on-line archive</a> (<ahref="http://xmlsoft.org/messages">old</a>). To subscribe to this list,please visit the <ahref="http://mail.gnome.org/mailman/listinfo/xml">associated Web</a> page andfollow the instructions. <strong>Do not send code, I won't debug it</strong>(but patches are really appreciated!).</p><p>Please note that with the current amount of virus and SPAM, sending mailto the list without being subscribed won't work. There is *far too manybounces* (in the order of a thousand a day !) I cannot approve them manuallyanymore. If your mail to the list bounced waiting for administrator approval,it is LOST ! Repost it and fix the problem triggering the error. Also pleasenote that <span style="color: #FF0000; background-color: #FFFFFF">emails witha legal warning asking to not copy or redistribute freely the informationthey contain</span> are <strong>NOT</strong> acceptable for the mailing-list,such mail will as much as possible be discarded automatically, and are lesslikely to be answered if they made it to the list, <strong>DO NOT</strong>post to the list from an email address where such legal requirements areautomatically added, get private paying support if you can't shareinformation.</p><p>Check the following <strong><span style="color: #FF0000">beforeposting</span></strong>:</p><ul>  <li>Read the <a href="FAQ.html">FAQ</a> and <a href="search.php">use the    search engine</a> to get information related to your problem.</li>  <li>Make sure you are <a href="ftp://xmlsoft.org/libxml2/">using a recent    version</a>, and that the problem still shows up in a recent version.</li>  <li>Check the <a href="http://mail.gnome.org/archives/xml/">list    archives</a> to see if the problem was reported already. In this case    there is probably a fix available, similarly check the <a    href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">registered    open bugs</a>.</li>  <li>Make sure you can reproduce the bug with xmllint or one of the test    programs found in source in the distribution.</li>  <li>Please send the command showing the error as well as the input (as an    attachment)</li></ul><p>Then send the bug with associated information to reproduce it to the <ahref="mailto:xml@gnome.org">xml@gnome.org</a> list; if it's really libxmlrelated I will approve it. Please do not send mail to me directly, it makesthings really hard to track and in some cases I am not the best person toanswer a given question, ask on the list.</p><p>To <span style="color: #E50000">be really clear about support</span>:</p><ul>  <li>Support or help <span style="color: #E50000">requests MUST be sent to    the list or on bugzilla</span> in case of problems, so that the Question    and Answers can be shared publicly. Failing to do so carries the implicit    message "I want free support but I don't want to share the benefits with    others" and is not welcome. I will automatically Carbon-Copy the    xml@gnome.org mailing list for any technical reply made about libxml2 or    libxslt.</li>  <li>There is <span style="color: #E50000">no guarantee of support</span>. If    your question remains unanswered after a week, repost it, making sure you    gave all the detail needed and the information requested.</li>  <li>Failing to provide information as requested or double checking first    for prior feedback also carries the implicit message "the time of the    library maintainers is less valuable than my time" and might not be    welcome.</li></ul><p>Of course, bugs reported with a suggested patch for fixing them willprobably be processed faster than those without.</p><p>If you're looking for help, a quick look at <ahref="http://mail.gnome.org/archives/xml/">the list archive</a> may actuallyprovide the answer. I usually send source samples when answering libxml2usage questions. The <ahref="http://xmlsoft.org/html/book1.html">auto-generated documentation</a> isnot as polished as I would like (i need to learn more about DocBook), butit's a good starting point.</p><h2><a name="help">How to help</a></h2><p>You can help the project in various ways, the best thing to do first is tosubscribe to the mailing-list as explained before, check the <ahref="http://mail.gnome.org/archives/xml/">archives </a>and the <ahref="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Gnome bugdatabase</a>:</p><ol>  <li>Provide patches when you find problems.</li>  <li>Provide the diffs when you port libxml2 to a new platform. They may not    be integrated in all cases but help pinpointing portability problems  and</li>  <li>Provide documentation fixes (either as patches to the code comments or    as HTML diffs).</li>  <li>Provide new documentations pieces (translations, examples, etc  ...).</li>  <li>Check the TODO file and try to close one of the items.</li>  <li>Take one of the points raised in the archive or the bug database and    provide a fix. <a href="mailto:daniel@veillard.com">Get in touch with me    </a>before to avoid synchronization problems and check that the suggested    fix will fit in nicely :-)</li></ol><h2><a name="Downloads">Downloads</a></h2><p>The latest versions of libxml2 can be found on the <ahref="ftp://xmlsoft.org/libxml2/">xmlsoft.org</a> server ( <ahref="ftp://xmlsoft.org/libxml2/">FTP</a> and rsync are available), there are alsomirrors (<a href="ftp://ftp.planetmirror.com/pub/xmlsoft/">Australia</a>( <ahref="http://xmlsoft.planetmirror.com/">Web</a>), <ahref="ftp://fr.rpmfind.net/pub/libxml/">France</a>) or on the <ahref="ftp://ftp.gnome.org/pub/GNOME/MIRRORS.html">Gnome FTP server</a> as <ahref="ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/">source archive</a>, Antonin Sprinzl also provide <a href="ftp://gd.tuwien.ac.at/pub/libxml/">amirror in Austria</a>. (NOTE that you need both the <ahref="http://rpmfind.net/linux/RPM/libxml2.html">libxml(2)</a> and <ahref="http://rpmfind.net/linux/RPM/libxml2-devel.html">libxml(2)-devel</a>packages installed to compile applications using libxml.)</p><p>You can find all the history of libxml(2) and libxslt releases in the <ahref="http://xmlsoft.org/sources/old/">old</a> directory. The precompiledWindows binaries made by Igor Zlatovic are available in the <ahref="http://xmlsoft.org/sources/win32/">win32</a> directory.</p><p>Binary ports:</p><ul>  <li>Red Hat RPMs for i386 are available directly on <a    href="ftp://xmlsoft.org/libxml2/">xmlsoft.org</a>, the source RPM will compile on    any architecture supported by Red Hat.</li>  <li><a href="mailto:igor@zlatkovic.com">Igor Zlatkovic</a> is now the    maintainer of the Windows port, <a    href="http://www.zlatkovic.com/projects/libxml/index.html">he provides    binaries</a>.</li>  <li>Blastwave provides <a    href="http://www.blastwave.org/packages.php/libxml2">Solaris  binaries</a>.</li>  <li><a href="mailto:Steve.Ball@explain.com.au">Steve Ball</a> provides <a    href="http://www.explain.com.au/oss/libxml2xslt.html">Mac Os X    binaries</a>.</li>  <li>The HP-UX porting center provides <a    href="http://hpux.connect.org.uk/hppd/hpux/Gnome/">HP-UX binaries</a></li>  <li>Bull provides precompiled <a    href="http://gnome.bullfreeware.com/new_index.html">RPMs for AIX</a> as    patr of their GNOME packages</li></ul><p>If you know other supported binary ports, please <ahref="http://veillard.com/">contact me</a>.</p><p><a name="Snapshot">Snapshot:</a></p><ul>  <li>Code from the W3C svn base libxml2 module, updated hourly <a    href="ftp://xmlsoft.org/libxml2/libxml2-cvs-snapshot.tar.gz">libxml2-cvs-snapshot.tar.gz</a>.</li>  <li>Docs, content of the web site, the list archive included <a    href="ftp://xmlsoft.org/libxml2/libxml-docs.tar.gz">libxml-docs.tar.gz</a>.</li></ul><p><a name="Contribs">Contributions:</a></p><p>I do accept external contributions, especially if compiling on anotherplatform,  get in touch with the list to upload the package, wrappers forvarious languages have been provided, and can be found in the <ahref="python.html">bindings section</a></p><p>Libxml2 is also available from SVN:</p><ul>  <li><p>The <a href="http://svn.gnome.org/viewcvs/libxml2/trunk/">Gnome SVN    base</a>. Check the <a    href="http://developer.gnome.org/tools/svn.html">Gnome SVN Tools</a>    page; the SVN module is <b>libxml2</b>.</p>  </li>  <li>The <strong>libxslt</strong> module is also present there</li></ul><h2><a name="News">Releases</a></h2><p>Items not finished and worked on, get in touch with the list if you wantto help those</p><ul>  <li>More testing on RelaxNG</li>  <li>Finishing up <a href="http://www.w3.org/TR/xmlschema-1/">XML  Schemas</a></li></ul><p>The <a href="ChangeLog.html">change log</a> describes the recents commitsto the <a href="http://svn.gnome.org/viewcvs/libxml2/trunk/">SVN</a> code base.</p><p>Here is the list of public releases:</p><h3>2.6.29: Jun 12 2007</h3><ul>  <li>Portability: patches from Andreas Stricke for WinCEi,      fix compilation warnings (William Brack), avoid warnings on Apple OS/X      (Wendy Doyle and Mark Rowe), Windows compilation and threading      improvements (Rob Richards), compilation against old Python versions,      new GNU tar changes (Ryan Hill)</li>  <li>Documentation: xmlURIUnescapeString comment, </li>  <li>Bugfixes: xmlBufferAdd problem (Richard Jones), 'make valgrind'      flag fix (Richard Jones), regexp interpretation of \,      htmlCreateDocParserCtxt (Jean-Daniel Dupas), configure.in      typo (Bjorn Reese), entity content failure, xmlListAppend() fix      (Georges-Andr

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -