1\name{Doctype-class}
2\docType{class}
3\alias{Doctype-class}
4
5\title{Class to describe a reference to an XML DTD}
6\description{This class is intended to identify a DTD by SYSTEM file and/or PUBLIC
7  catalog identifier.  This is used in the DOCTYPE element of an XML document.}
8\section{Objects from the Class}{
9  Objects can be created by calls to the constructor function \code{\link{Doctype}}.
10}
11\section{Slots}{
12  \describe{
13    \item{\code{name}:}{Object of class \code{"character"}. This is the name of the
14      top-level element in the XML document.}
15    \item{\code{system}:}{Object of class \code{"character"}. This is the name of the file on the
16       system where the DTD document can be found. Can this be a URI?}
17    \item{\code{public}:}{Object of class \code{"character"}. This gives the PUBLIC
18    identifier for the DTD that can be searched for in a catalog, for example to map the
19    DTD reference to a local system element.}
20  }
21}
22\section{Methods}{
23  There is a constructor function
24  and also methods for \code{\link{coerce}} to convert an object
25  of this class to a character.
26}
27
28\references{\url{http://www.w3.org/XML}, \url{http://www.xmlsoft.org}}
29\author{Duncan Temple Lang}
30
31\seealso{
32 \code{\link{Doctype}}
33 \code{\link{saveXML}}
34}
35\examples{
36  d = Doctype(name = "section",
37             public = c("-//OASIS//DTD DocBook XML V4.2//EN",
38                       "http://oasis-open.org/docbook/xml/4.2/docbookx.dtd"))
39}
40\keyword{classes}
41