📄 readme
字号:
Expat, Release 1.95.2This is expat, a C library for parsing XML, written by James Clark.Expat is a stream-oriented XML parser. This means that you registerhandlers with the parser before starting the parse. These handlersare called when the parser discovers the associated structures in thedocument being parsed. A start tag is an example of the kind ofstructures for which you may register handlers.Windows users should use the expat_win32bin package, which includesboth precompiled libraries and executalbes, and source code fordevelopers.Expat is free software. You may copy, distribute, and modify it underthe terms of the License contained in the file COPYING distributedwith this package. This license is the same as the MIT/X Consortiumlicense.Versions of expat that have an odd minor version (the middle number inthe release above), are development releases and should be consideredas beta software. Releases with even minor version numbers areintended to be production grade software.To build expat, you first run the configuration shell script in thetop level distribution directory: ./configureThere are many options which you may provide to configure (which youcan discover by running configure with the --help option). But theone of most interest is the one that sets the installation directory.By default, the configure script will set things up to installlibexpat into /usr/local/lib, expat.h into /usr/local/include, andxmlwf into /usr/local/bin. If, for example, you'd prefer to installinto /home/me/mystuff/lib, /home/me/mystuff/include, and/home/me/mystuff/bin, you can tell configure about that with: ./configure --prefix=/home/me/mystuffAfter running the configure script, the "make" command will buildthings and "make install" will install things into their properlocation. Note that you need to have write permission into thedirectories into which things will be installed.When building for use with C++, you may need to add additionalcompiler flags to support proper interaction with exceptions. Thiscan be done by setting the CFLAGS environment variable. For example,when using GCC, you can use: CFLAGS=-fexceptions ./configureNote for Solaris users: The "ar" command is usually located in"/usr/ccs/bin", which is not in the default PATH. You will need toadd this to your path for the "make" command, and probably also switchto GNU make (the "make" found in /usr/ccs/bin does not seem to workproperly -- appearantly it does not understand .PHONY directives). Ifyou're using ksh or bash, use this command to build: PATH=/usr/ccs/bin:$PATH makeA reference manual is available in the file doc/reference.html in thisdistribution.The homepage for this project is http://expat.sourceforge.net/. Thereare links there to connect you to the bug reports page. If you needto report a bug when you don't have access to a browser, you may alsosend a bug report by email to expat-bugs@lists.sourceforge.net.Discussion related to the direction of future expat development takesplace on expat-discuss@lists.sourceforge.net. Archives of this listmay be found at http://www.geocrawler.com/redir-sf.php3?list=expat-discuss.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -