home *** CD-ROM | disk | FTP | other *** search
/ Netrunner 2004 October / NETRUNNER0410.ISO / regular / ActivePerl-5.8.4.810-MSWin32-x86.msi / _3d9a02e2dc610c50875a723134fd26f0 < prev    next >
Text File  |  2004-06-01  |  3KB  |  82 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
  2. "http://www.w3.org/TR/REC-html40/loose.dtd">
  3.  
  4. <HTML>
  5.  
  6. <TITLE>expat</TITLE>
  7.  
  8. <BODY>
  9.  
  10. <H1>expat - XML Parser Toolkit</H1>
  11.  
  12. <H3>Version 19991013</H3>
  13.  
  14. <P>Copyright (c) 1998, 1999 James Clark.  Expat is subject to the <A
  15. HREF="http://www.mozilla.org/NPL/NPL-1_1Final.html">Mozilla Public
  16. License Version 1.1</A>.  Alternatively you may use expat under the <A
  17. href="http://www.gnu.org/copyleft/gpl.html">GNU General Public
  18. License</A> instead.  Please contact me if you wish to negotiate an
  19. alternative license.</P>
  20.  
  21. <P>This is a test version of expat which adds support for parsing
  22. external DTDs and parameter entities.  Compiling with -DXML_DTD
  23. enables this support.  There's a new <CODE>-p</CODE> option for xmlwf
  24. which will cause it to process external DTDs and parameter entities;
  25. this implies the <CODE>-x</CODE> option.  See the comment above
  26. <CODE>XML_SetParamEntityParsing</CODE> in <CODE>xmlparse.h</CODE> for
  27. the API addition that enables this.</P>
  28.  
  29. <P>Expat is an <A
  30. HREF="http://www.w3.org/TR/1998/REC-xml-19980210">XML 1.0</A> parser
  31. written in C. It aims to be fully conforming.  It is currently not a
  32. validating XML processor.  The current production version of expat can
  33. be downloaded from <A href = "ftp://ftp.jclark.com/pub/xml/expat.zip"
  34. >ftp://ftp.jclark.com/pub/xml/expat.zip</A>.</P>
  35.  
  36. <P>The directory <SAMP>xmltok</SAMP> contains a low-level library for
  37. tokenizing XML.  The interface is documented in
  38. <SAMP>xmltok/xmltok.h</SAMP>.</P>
  39.  
  40. <P>The directory <SAMP>xmlparse</SAMP> contains an XML parser library
  41. which is built on top of the <SAMP>xmltok</SAMP> library.  The
  42. interface is documented in <SAMP>xmlparse/xmlparse.h</SAMP>.  The
  43. directory <SAMP>sample</SAMP> contains a simple example program using
  44. this interface; <SAMP>sample/build.bat</SAMP> is a batch file to build
  45. the example using Visual C++.</P>
  46.  
  47. <P>The directory <SAMP>xmlwf</SAMP> contains the <SAMP>xmlwf</SAMP>
  48. application, which uses the <SAMP>xmlparse</SAMP> library. The
  49. arguments to <SAMP>xmlwf</SAMP> are one or more files which are each
  50. to be checked for well-formedness. An option <SAMP>-d
  51. <VAR>dir</VAR></SAMP> can be specified; for each well-formed input
  52. file the corresponding <A
  53. href="http://www.jclark.com/xml/canonxml.html">canonical XML</A> will
  54. be written to <SAMP>dir/<VAR>f</VAR></SAMP>, where
  55. <SAMP><VAR>f</VAR></SAMP> is the filename (without any path) of the
  56. input file.  A <CODE>-x</CODE> option will cause references to
  57. external general entities to be processed.  A <CODE>-s</CODE> option
  58. will make documents that are not standalone cause an error (a document
  59. is considered standalone if either it is intrinsically standalone
  60. because it has no external subset and no references to parameter
  61. entities in the internal subset or it is declared as standalone in the
  62. XML declaration).</P>
  63.  
  64. <P>The <SAMP>bin</SAMP> directory contains Win32 executables.  The
  65. <SAMP>lib</SAMP> directory contains Win32 import libraries.</P>
  66.  
  67. <P>Answers to some frequently asked questions about expat can be found
  68. in the <A HREF="http://www.jclark.com/xml/expatfaq.html">expat
  69. FAQ</A>.</P>
  70.  
  71. <P></P>
  72.  
  73. <ADDRESS>
  74.  
  75. <A HREF="mailto:jjc@jclark.com">James Clark</A>
  76.  
  77. </ADDRESS>
  78.  
  79. </BODY>
  80.  
  81. </HTML>
  82.