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

📄 expat.html

📁 一个用visual studio C++开发的XML文件解析和生成程序.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"><HTML><TITLE>expat</TITLE><BODY><H1>expat - XML Parser Toolkit</H1><H3>Version 1.2</H3><P>Copyright (c) 1998, 1999, 2000 Thai Open Source Software CenterLtd.  Expat is freely available with source under a very liberal <ahref="copying.txt">license</a> (the MIT license).</P><P>This is a production version of expat.  Relative to expat 1.1, itadds support for parsing external DTDs and parameter entities.Compiling with -DXML_DTD enables this support.  There's a new<CODE>-p</CODE> option for xmlwf which will cause it to processexternal DTDs and parameter entities; this implies the <CODE>-x</CODE>option.  See the comment above <CODE>XML_SetParamEntityParsing</CODE>in <CODE>xmlparse.h</CODE> for the API addition that enables this.</P><P>Expat is an <AHREF="http://www.w3.org/TR/1998/REC-xml-19980210">XML 1.0</A> parserwritten in C. It aims to be fully conforming.  It is currently not avalidating XML processor.  The current production version of expat 1.Xcan be downloaded from <A href ="ftp://ftp.jclark.com/pub/xml/expat.zip">ftp://ftp.jclark.com/pub/xml/expat.zip</A>.</P><P>Development of expat 2.0 is being handled by a team led by ClarkCooper, hosted by <Ahref="http://www.sourceforge.net">sourceforge.net</A>.  See <A href="http://expat.sourceforge.net">http://expat.sourceforge.net</A> forthe latest on expat 2.0.</P><P>The directory <SAMP>xmltok</SAMP> contains a low-level library fortokenizing XML.  The interface is documented in<SAMP>xmltok/xmltok.h</SAMP>.</P><P>The directory <SAMP>xmlparse</SAMP> contains an XML parser librarywhich is built on top of the <SAMP>xmltok</SAMP> library.  Theinterface is documented in <SAMP>xmlparse/xmlparse.h</SAMP>.  Thedirectory <SAMP>sample</SAMP> contains a simple example program usingthis interface; <SAMP>sample/build.bat</SAMP> is a batch file to buildthe example using Visual C++.</P><P>The directory <SAMP>xmlwf</SAMP> contains the <SAMP>xmlwf</SAMP>application, which uses the <SAMP>xmlparse</SAMP> library. Thearguments to <SAMP>xmlwf</SAMP> are one or more files which are eachto be checked for well-formedness. An option <SAMP>-d<VAR>dir</VAR></SAMP> can be specified; for each well-formed inputfile the corresponding <Ahref="http://www.jclark.com/xml/canonxml.html">canonical XML</A> willbe written to <SAMP>dir/<VAR>f</VAR></SAMP>, where<SAMP><VAR>f</VAR></SAMP> is the filename (without any path) of theinput file.  A <CODE>-x</CODE> option will cause references toexternal general entities to be processed.  A <CODE>-s</CODE> optionwill make documents that are not standalone cause an error (a documentis considered standalone if either it is intrinsically standalonebecause it has no external subset and no references to parameterentities in the internal subset or it is declared as standalone in theXML declaration).</P><P>The <SAMP>bin</SAMP> directory contains Win32 executables.  The<SAMP>lib</SAMP> directory contains Win32 import libraries.</P><P>Answers to some frequently asked questions about expat can be foundin the <AHREF="http://www.jclark.com/xml/expatfaq.html">expatFAQ</A>.</P><P></P><ADDRESS><A HREF="mailto:jjc@jclark.com">James Clark</A></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

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