# Tools for parsing and generating XML within R and S-Plus.

## Documentation for package ‘XML’ version 1.94-0

## Help Pages

A C D E F G H L M N P R S T U X misc

.InitSAXMethods | Generic Methods for SAX callbacks

## -- A --

addAttributes | Add child nodes to an XML node
addAttributes,XMLInternalElementNode-method | Add child nodes to an XML node
addAttributes,XMLNode-method | Add child nodes to an XML node
addChildren | Add child nodes to an XML node
addChildren,XMLInternalNode-method | Add child nodes to an XML node
addChildren,XMLNode-method | Add child nodes to an XML node
addNode | Add a node to a tree
addSibling | Manipulate sibling XML nodes
append.XMLNode | Add children to an XML node
append.xmlNode | Add children to an XML node
asXMLNode | Converts non-XML node objects to XMLTextNode objects
asXMLTreeNode | Convert a regular XML node to one for use in a "flat" tree

## -- C --

catalogAdd | Manipulate XML catalog contents
catalogClearTable | Manipulate XML catalog contents
catalogLoad | Manipulate XML catalog contents
catalogResolve | Look up an element via the XML catalog mechanism
coerce,Doctype,character-method | Constructor for DTD reference
coerce,vector,XMLInternalNode-method | Create internal XML node or document object
coerce,XMLInternalDocument,character-method | Output internal XML Tree
coerce,XMLInternalDocument,XMLInternalNode-method | Class to represent reference to C-level data structure for an XML document
coerce,XMLInternalDOM,character-method | Output internal XML Tree
coerce,XMLInternalNode,character-method | Output internal XML Tree
coerce,XMLInternalNode,XMLInternalDocument-method | Class to represent reference to C-level data structure for an XML document
coerce,XMLInternalNode,XMLNode-method | Converts non-XML node objects to XMLTextNode objects
comment.SAX | Generic Methods for SAX callbacks
comment.SAX,ANY,SAXState-method | Generic Methods for SAX callbacks

## -- D --

docName | Accessors for name of XML document
docName<-,XMLInternalDocument-method | Accessors for name of XML document
Doctype | Constructor for DTD reference
Doctype-class | Class to describe a reference to an XML DTD
dtdElement | Gets the definition of an element or entity from a DTD.
dtdElementValidEntry | Determines whether an XML element allows a particular type of sub-element.
dtdEntity | Gets the definition of an element or entity from a DTD.
dtdIsAttribute | Query if a name is a valid attribute of a DTD element.
dtdValidElement | Determines whether an XML tag is valid within another.

## -- E --

endElement.SAX | Generic Methods for SAX callbacks
endElement.SAX,ANY,SAXState-method | Generic Methods for SAX callbacks
entityDeclaration.SAX | Generic Methods for SAX callbacks
entityDeclaration.SAX,ANY,ANY,ANY,ANY,ANY,SAXState-method | Generic Methods for SAX callbacks

## -- F --

free | Release the specified object and clean up its memory usage
free,XMLInternalDocument-method | Release the specified object and clean up its memory usage

## -- G --

genericSAXHandlers | SAX generic callback handler list
getDefaultNamespace | Get definitions of any namespaces defined in this XML node
getNodeSet | Find matching nodes in an internal XML tree/DOM
getSibling | Manipulate sibling XML nodes
getXMLErrors | Get XML/HTML document parse errors

## -- H --

htmlTreeParse | XML Parser

## -- L --

length.XMLNode | Determine the number of children in an XMLNode object.
libxmlVersion | Get the version of the libxml library.

## -- M --

matchNamespaces | Find matching nodes in an internal XML tree/DOM

## -- N --

names.XMLNode | Get the names of an XML nodes children.
newXMLCDataNode | Create internal XML node or document object
newXMLCommentNode | Create internal XML node or document object
newXMLDoc | Create internal XML node or document object
newXMLDTDNode | Create internal XML node or document object
newXMLNode | Create internal XML node or document object
newXMLPINode | Create internal XML node or document object
newXMLTextNode | Create internal XML node or document object

## -- P --

parseDTD | Read a Document Type Definition (DTD)
parseURI | Parse a URI string into its elements
print.XMLAttributeDef | Methods for displaying XML objects
print.XMLCDataNode | Methods for displaying XML objects
print.XMLComment | Methods for displaying XML objects
print.XMLElementContent | Methods for displaying XML objects
print.XMLElementDef | Methods for displaying XML objects
print.XMLEntity | Methods for displaying XML objects
print.XMLEntityRef | Methods for displaying XML objects
print.XMLNode | Methods for displaying XML objects
print.XMLOrContent | Methods for displaying XML objects
print.XMLProcessingInstruction | Methods for displaying XML objects
print.XMLSequenceContent | Methods for displaying XML objects
print.XMLTextNode | Methods for displaying XML objects
processingInstruction.SAX | Generic Methods for SAX callbacks
processingInstruction.SAX,ANY,ANY,SAXState-method | Generic Methods for SAX callbacks
processXInclude | Perform the XInclude substitutions

## -- R --

removeAttributes | Add child nodes to an XML node
removeAttributes,XMLInternalElementNode-method | Add child nodes to an XML node
removeAttributes,XMLNode-method | Add child nodes to an XML node
removeChildren | Add child nodes to an XML node
removeNodes | Add child nodes to an XML node
replaceNodes | Add child nodes to an XML node

## -- S --

saveXML | Output internal XML Tree
SAXState-class | A virtual base class defining methods for SAX parsing
startElement.SAX | Generic Methods for SAX callbacks
startElement.SAX,ANY,ANY,SAXState-method | Generic Methods for SAX callbacks
supportsExpat | Determines which native XML parsers are being used.
supportsLibxml | Determines which native XML parsers are being used.

## -- T --

text.SAX | Generic Methods for SAX callbacks
text.SAX,ANY,SAXState-method | Generic Methods for SAX callbacks
toHTML | Create an HTML representation of the given R object, using internal C-level nodes
toHTML,call-method | Create an HTML representation of the given R object, using internal C-level nodes
toHTML,matrix-method | Create an HTML representation of the given R object, using internal C-level nodes
toHTML,vector-method | Create an HTML representation of the given R object, using internal C-level nodes
toString.XMLNode | Creates string representation of XML node

## -- U --

URI-class | Parse a URI string into its elements

## -- X --

xmlAncestors | Get parent node of XMLInternalNode or ancestor nodes
xmlApply | Applies a function to each of the children of an XMLNode
xmlAttributeType | The type of an XML attribute for element from the DTD
xmlAttrs | Get the list of attributes of an XML node.
xmlAttrs<-,XMLInternalElementNode-method | Get the list of attributes of an XML node.
xmlAttrs<-,XMLInternalNode | Get the list of attributes of an XML node.
xmlAttrs<-,XMLNode | Get the list of attributes of an XML node.
xmlAttrs<-,XMLNode-method | Get the list of attributes of an XML node.
xmlCDataNode | Create an XML node
xmlChildren | Gets the sub-nodes within an XMLNode object.
xmlCommentNode | Create an XML node
xmlContainsElement | Checks if an entity is defined within a DTD.
xmlContainsEntity | Checks if an entity is defined within a DTD.
xmlDoc | Create internal XML node or document object
xmlDOMApply | Apply function to nodes in an XML tree/DOM.
XMLDTDNode-class | Classes to describe an XML node object.
xmlElementsByTagName | Retrieve the children of an XML node with a specific tag name
xmlErrorCumulator | Condition/error handler functions for XML parsing
xmlEventHandler | Default handlers for the SAX-style event XML parser
xmlEventParse | XML Event/Callback element-wise Parser
xmlFlatListTree | Constructors for trees stored as flat list of nodes with information about parents and children.
xmlGetAttr | Get the value of an attribute in an XML node
xmlHandler | Example XML Event Parser Handler Functions
xmlHashTree | Constructors for trees stored as flat list of nodes with information about parents and children.
XMLInternalCDataNode-class | Classes to describe an XML node object.
XMLInternalCommentNode-class | Classes to describe an XML node object.
XMLInternalDocument-class | Class to represent reference to C-level data structure for an XML document
XMLInternalElementNode-class | Classes to describe an XML node object.
XMLInternalNode-class | Classes to describe an XML node object.
XMLInternalPINode-class | Classes to describe an XML node object.
XMLInternalTextNode-class | Classes to describe an XML node object.
xmlInternalTreeParse | XML Parser
xmlName | Extraces the tag name of an XMLNode object.
xmlNamespace | Retrieve the namespace value of an XML node.
XMLNamespace-class | Retrieve the namespace value of an XML node.
xmlNamespace.character | Retrieve the namespace value of an XML node.
xmlNamespace.XMLInternalNode | Retrieve the namespace value of an XML node.
xmlNamespace.XMLNode | Retrieve the namespace value of an XML node.
xmlNamespaceDefinitions | Get definitions of any namespaces defined in this XML node
xmlNode | Create an XML node
XMLNode-class | Classes to describe an XML node object.
xmlOutputBuffer | XML output streams
xmlOutputDOM | XML output streams
xmlParent | Get parent node of XMLInternalNode or ancestor nodes
xmlPINode | Create an XML node
xmlRoot | Get the top-level XML node.
xmlSApply | Applies a function to each of the children of an XMLNode
xmlSize | The number of sub-elements within an XML node.
xmlSource | Source the R code, examples, etc. from an XML document
xmlSource,character-method | Source the R code, examples, etc. from an XML document
xmlSource,XMLNodeSet-method | Source the R code, examples, etc. from an XML document
xmlStopParser | Terminate an XML parser
xmlStructuredStop | Condition/error handler functions for XML parsing
xmlTextNode | Create an XML node
xmlTree | An internal, updatable DOM object for building XML trees
xmlTreeParse | XML Parser
xmlValue | Extract the contents of a leaf XML node
xpathApply | Find matching nodes in an internal XML tree/DOM
xpathSApply | Find matching nodes in an internal XML tree/DOM

## -- misc --

[.XMLNode | Convenience accessors for the children of XMLNode objects.
[[.XMLDocumentContent | Convenience accessors for the children of XMLNode objects.
[[.XMLNode | Convenience accessors for the children of XMLNode objects.