Annotation of libwww/Library/src/WWWXML.html, revision 2.4

2.1       frystyk     1: <HTML>
                      2: <HEAD>
2.3       frystyk     3:   <TITLE>W3C Sample Code Library libwww XML/RDF Module</TITLE>
2.1       frystyk     4: </HEAD>
                      5: <BODY>
                      6: <H1>
2.3       frystyk     7:   Declaration of W3C Sample Code XML/RDF Module
2.1       frystyk     8: </H1>
                      9: <PRE>
                     10: /*
2.3       frystyk    11: **     (c) COPYRIGHT MIT 1999.
2.1       frystyk    12: **     Please first read the full copyright statement in the file COPYRIGH.
                     13: */
                     14: </PRE>
                     15: <P>
2.3       frystyk    16: <STRONG>Thanks so much to John Punin for writing this code!</STRONG>
                     17: <P>
2.1       frystyk    18: We use <A href="http://www.jclark.com/xml/expat.html">James Clark's expat
                     19: XML parser</A> which is very neat indeed. As the code doesn't come as a separate
                     20: library, I included it in the libwww CVS code base where I compile is as
2.4     ! kahan      21: one library: <CODE>libexpat.a</CODE>. See
2.1       frystyk    22: the <A HREF="../External/">external modules that libwww works</A> with for
2.3       frystyk    23: details.
2.1       frystyk    24: <PRE>
                     25: #ifndef WWWXML_H
                     26: #define WWWXML_H
                     27: </PRE>
                     28: <PRE>
                     29: #ifdef __cplusplus
                     30: extern "C" { 
                     31: #endif
                     32: </PRE>
                     33: <H2>
                     34:   System dependencies
                     35: </H2>
                     36: <P>
                     37: The <A HREF="wwwsys.html">wwwsys.h</A> file includes system-specific include
                     38: files and flags for I/O to network and disk. The only reason for this file
                     39: is that the Internet world is more complicated than Posix and ANSI.
                     40: <PRE>
                     41: #include "wwwsys.h"
                     42: </PRE>
2.3       frystyk    43: <H3>
                     44:   The Libwww Expat Wrapper Stream
                     45: </H3>
2.1       frystyk    46: <PRE>
                     47: #ifdef HT_EXPAT
2.2       frystyk    48: #include "<A HREF="HTXML.html">HTXML.h</A>"
2.3       frystyk    49: #endif /* HT_EXPAT */
                     50: </PRE>
                     51: <H3>
                     52:   The RDF Parser Using The XML Parser
                     53: </H3>
                     54: <P>
                     55: This RDF parser is based on Janne Saarela's Java based
                     56: <A href="/RDF/Implementations/SiRPAC/">SiRPAC</A> and
                     57: <A href="http://www.jclark.com/xml/expat.html">James Clark's expat XML
                     58: parser</A>
                     59: <PRE>
                     60: #ifdef HT_EXPAT
                     61: #include "<A HREF="HTRDF.html">HTRDF.h</A>"
                     62: #endif /* HT_EXPAT */
2.1       frystyk    63: </PRE>
                     64: <P>
                     65: End of XML module
                     66: <PRE>
                     67: #ifdef __cplusplus
                     68: } /* end extern C definitions */
                     69: #endif
                     70: 
                     71: #endif
                     72: </PRE>
                     73: <P>
                     74:   <HR>
                     75: <ADDRESS>
2.4     ! kahan      76:   @(#) $Id: WWWXML.html,v 2.3 1999/04/18 20:24:41 frystyk Exp $
2.1       frystyk    77: </ADDRESS>
                     78: </BODY></HTML>

Webmaster