Rev 8027 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{Doctype-class}\docType{class}\alias{Doctype-class}\title{Class to describe a reference to an XML DTD}\description{This class is intended to identify a DTD by SYSTEM file and/or PUBLICcatalog identifier. This is used in the DOCTYPE element of an XML document.}\section{Objects from the Class}{Objects can be created by calls to the constructor function \code{\link{Doctype}}.}\section{Slots}{\describe{\item{\code{name}:}{Object of class \code{"character"}. This is the name of thetop-level element in the XML document.}\item{\code{system}:}{Object of class \code{"character"}. This is the name of the file on thesystem where the DTD document can be found. Can this be a URI?}\item{\code{public}:}{Object of class \code{"character"}. This gives the PUBLICidentifier for the DTD that can be searched for in a catalog, for example to map theDTD reference to a local system element.}}}\section{Methods}{There is a constructor functionand also methods for \code{\link{coerce}} to convert an objectof this class to a character.}\references{\url{https://www.w3.org/XML/}, \url{http://www.xmlsoft.org}}\author{Duncan Temple Lang}\seealso{\code{\link{Doctype}}\code{\link{saveXML}}}\examples{d = Doctype(name = "section",public = c("-//OASIS//DTD DocBook XML V4.2//EN","http://oasis-open.org/docbook/xml/4.2/docbookx.dtd"))}\keyword{classes}