@c This file is part of the MIT/GNU Scheme Reference Manual.
-@c $Id: io.texi,v 1.8 2004/10/14 17:15:36 cph Exp $
+@c $Id: io.texi,v 1.9 2004/10/15 06:00:49 cph Exp $
@c Copyright 1991,1992,1993,1994,1995 Massachusetts Institute of Technology
@c Copyright 1996,1997,1999,2000,2001 Massachusetts Institute of Technology
This parser is believed to be conformant with @acronym{XML} 1.0. It
passes all of the tests in the "xmltest" directory of the @acronym{XML}
conformance tests (dated 2001-03-15). The parser supports @acronym{XML}
-namespaces. The parser doesn't support external document type
-declarations (@acronym{DTD}s), and it doesn't yet support @acronym{XML}
-1.1. The output of the parser is a record tree that closely reflects
-the structure of the @acronym{XML} document.
+namespaces; it doesn't support external document type declarations
+(@acronym{DTD}s), and it doesn't yet support @acronym{XML} 1.1. The
+output of the parser is a record tree that closely reflects the
+structure of the @acronym{XML} document.
MIT/GNU Scheme also provides support for writing an @acronym{XML} record
tree to an output port. There is no guarantee that parsing an
When an @acronym{XHTML} document is read, the parser provides entity
definitions for all of the named @acronym{XHTML} characters; for
-example, it defines @code{ } and @code{©}. In order for a
+example, it defines @samp{ } and @samp{©}. In order for a
document to be recognized as @acronym{XHTML}, it must contain an
@acronym{XHTML} @acronym{DTD}, such as this:
When an @acronym{XHTML} document record is written, named
@acronym{XHTML} characters are translated into their corresponding
-entities. For example, the character @code{#\U+00A0} is written as
-@code{ }. In order for an @acronym{XML} document record to be
+entities. For example, the character @samp{#\U+00A0} is written as
+@samp{ }. In order for an @acronym{XML} document record to be
recognized as @acronym{XHTML}, it must have a @acronym{DTD} record that
satisfies the predicate @code{html-dtd?}.
is the part of the qname to the left of the colon, while the local part
is the part of the qname to the right of the colon. If there is no
colon in the qname, the local part is the entire qname, and the prefix
-is the null symbol (i.e.@: @code{||}).
+is the null symbol (i.e.@: @samp{||}).
@deffn procedure xml-name-prefix xml-name
Returns the @dfn{prefix} of @var{xml-name} as a symbol.
@defvr variable xml-iri
@code{xml-iri} is the @acronym{IRI} reserved for use by the
@acronym{XML} recommendation. This @acronym{IRI} must be used with the
-@code{xml} prefix.
+@samp{xml} prefix.
@end defvr
@defvr variable xmlns-iri
@code{xmlns-iri} is the @acronym{IRI} reserved for use by the
@acronym{XML} namespace recommendation. This @acronym{IRI} must be used
-with the @code{xmlns} prefix.
+with the @samp{xmlns} prefix.
@end defvr