Learn R Programming

XML (version 3.98-1.5)

Doctype-class: Class to describe a reference to an XML DTD

Description

This class is intended to identify a DTD by SYSTEM file and/or PUBLIC catalog identifier. This is used in the DOCTYPE element of an XML document.

Arguments

Objects from the Class

Objects can be created by calls to the constructor function Doctype.

Slots

Methods

There is a constructor function and also methods for coerce to convert an object of this class to a character.

References

http://www.w3.org/XML, http://www.xmlsoft.org

See Also

Doctype saveXML

Examples

Run this code
  d = Doctype(name = "section",
             public = c("-//OASIS//DTD DocBook XML V4.2//EN",
                       "http://oasis-open.org/docbook/xml/4.2/docbookx.dtd"))  

Run the code above in your browser using DataLab