Gets the definition of an element or entity from a DTD.
A DTD in R consists of both element and entity definitions. These two functions provide simple access to individual elements of these two lists, using the name of the element or entity. The DTD is provided to determine where to look for the entry.
The name of the element being retrieved/acessed.
The DTD from which the element is to be retrieved.
An element within a DTD contains
both the list of sub-elements it can contain and a list of attributes
that can be used within this tag type.
dtdElement retrieves the
element by name from the specified DTD definition.
Entities within a DTD are like macros or text substitutes used
within a DTD and/or XML documents that use it.
Each consists of a name/label and a definition, the text
that is substituted when the entity is referenced.
dtdEntity retrieves the entity definition
from the DTD.
One can read a DTD
parseDTD) or implicitly when reading a
The names of all available elements can be obtained from the expression
This function is simply a convenience for
An object of class
Duncan Temple Lang
1 2 3 4 5 6 7 8 9 10 11
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.