Docbook-class: Classes for identifying XML content as being for a target...

Docbook-classR Documentation

Classes for identifying XML content as being for a target format

Description

These classes allows us to label an XML node with a class in order to indicate and identify it as being for a particular XML dialect such as HTML, Formatting Objects (FO) or Docbook. This avoids having to examine the content to determine the intended format.

These classes extend a common, virtual class TargetFormatXMLNode which in turn extends the fundamental XMLInternalNode class for representing XML content with C-level data structures.

Slots

.S3Class:

Object of class "character" ~~

Extends

Class "TargetFormatXMLNode", directly. Class XMLInternalNode, by class "TargetFormatXMLNode", distance 2. Class XMLAbstractNode, by class "TargetFormatXMLNode", distance 3. Class "oldClass", by class "TargetFormatXMLNode", distance 4.

Author(s)

Duncan Temple Lang

Examples

showClass("Docbook")
library(XML)
new("HTML", newXMLNode("a", attrs = c(href = "http://www.omegahat.org/XDynDocs")))

duncantl/XDynDocs documentation built on Jan. 4, 2024, 5:20 p.m.