[Expat-checkins] expat/doc reference.html,1.35,1.36

Fred L. Drake fdrake@users.sourceforge.net
Thu, 17 Oct 2002 12:13:58 -0700


Update of /cvsroot/expat/expat/doc
In directory usw-pr-cvs1:/tmp/cvs-serv6695

Modified Files:
	reference.html 
Log Message:
Adjust markup a bit, adding some internal hyperlinks.

Index: reference.html
===================================================================
RCS file: /cvsroot/expat/expat/doc/reference.html,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- reference.html	17 Oct 2002 16:45:49 -0000	1.35
+++ reference.html	17 Oct 2002 19:13:55 -0000	1.36
@@ -1000,18 +1000,21 @@
 is in effect. (See <a href="#XML_SetParamEntityParsing">
 <code>XML_SetParamEntityParsing</code></a>.)</p>
 
-<p>The context parameter specifies the parsing context in the format
-expected by the context argument to XML_ExternalEntityParserCreate.
-context is valid only until the handler returns, so if the
-referenced entity is to be parsed later, it must be copied.
-context is NULL only when the entity is a parameter entity, which
-is how one can differentiate between general and parameter entities.</p>
+<p>The <code>context</code> parameter specifies the parsing context in
+the format expected by the <code>context</code> argument to <code><a
+href="#XML_ExternalEntityParserCreate"
+>XML_ExternalEntityParserCreate</a></code>.  <code>code</code> is
+valid only until the handler returns, so if the referenced entity is
+to be parsed later, it must be copied.  <code>context</code> is NULL
+only when the entity is a parameter entity, which is how one can
+differentiate between general and parameter entities.</p>
 
-<p>The base parameter is the base to use for relative system identifiers.
-It is set by <a href="#XML_SetBase">XML_SetBase</a> and may be null. The
-public id parameter is the public id given in the entity declaration and
-may be null. The system id is the system identifier specified in the entity
-declaration and is never null.</p>
+<p>The <code>base</code> parameter is the base to use for relative
+system identifiers.  It is set by <code><a
+href="#XML_SetBase">XML_SetBase</a></code> and may be NULL. The
+<code>publicId</code> parameter is the public id given in the entity
+declaration and may be NULL.  <code>systemId</code> is the system
+identifier specified in the entity declaration and is never NULL.</p>
 
 <p>There are a couple of ways in which this handler differs from others.
 First, this handler returns an integer. A non-zero value should be returned
@@ -1021,8 +1024,8 @@
 
 <p>Second, instead of having userData as its first argument, it receives the
 parser that encountered the entity reference. This, along with the context
-parameter, may be used as arguments to a call to
-<a href="#XML_ExternalEntityParserCreate">XML_ExternalEntityParserCreate</a>.
+parameter, may be used as arguments to a call to <code><a href=
+"#XML_ExternalEntityParserCreate">XML_ExternalEntityParserCreate</a></code>.
 Using the returned parser, the body of the external entity can be recursively
 parsed.</p>