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

## Documentation for package ‘XML’ version 2.5-1

## Help Pages

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

## -- --

$,libxmlTypeTable-method | Classes for working with XML Schema
$,xmlSchemaRef-method | Classes for working with XML Schema
$<-,libxmlTypeTable-method | Classes for working with XML Schema
.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
addNode.XMLHashTree | 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,character,XMLCodeDoc-method | Simple classes for identifying an XML document containing R code
coerce,character,XMLCodeFile-method | Simple classes for identifying an XML document containing R code
coerce,character,XMLNamespaceDefinitions-method | Get definitions of any namespaces defined in this XML node
coerce,Doctype,character-method | Constructor for DTD reference
coerce,libxmlTypeTable,list-method | Classes for working with XML Schema
coerce,NULL,XMLNamespaceDefinitions-method | Get definitions of any namespaces defined in this XML node
coerce,vector,XMLInternalNode-method | Create internal XML node or document object
coerce,XMLAbstractDocument,XMLAbstractNode-method | Transform between XML representations
coerce,XMLCodeFile,XMLCodeDoc-method | Simple classes for identifying an XML document containing R code
coerce,XMLHashTreeNode,XMLHashTree-method | Transform between XML representations
coerce,XMLInternalDocument,character-method | Output internal XML Tree
coerce,XMLInternalDocument,XMLHashTree-method | Transform between XML representations
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,XMLHashTree-method | Transform between XML representations
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
coerce,XMLInternalTextNode,character-method | Extract or set the contents of a leaf XML node
coerce,XMLNamespace,character-method | Get definitions of any namespaces defined in this XML node
coerce,XMLNamespaceDefinition,character-method | Get definitions of any namespaces defined in this XML node
coerce,XMLNamespaceDefinitions,character-method | Get definitions of any namespaces defined in this XML node
coerce,XMLNode,XMLInternalNode-method | Transform between XML representations
comment.SAX | Generic Methods for SAX callbacks
comment.SAX,ANY,SAXState-method | Generic Methods for SAX callbacks
COMPACT | Parse an XML document with options controlling the parser.

## -- D --

docName | Accessors for name of XML document
docName<- | Accessors for name of XML document
docName<-,XMLHashTree-method | 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
DTDATTR | Parse an XML document with options controlling the parser.
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.
dtdElementValidEntry.character | Determines whether an XML element allows a particular type of sub-element.
dtdElementValidEntry.XMLElementContent | Determines whether an XML element allows a particular type of sub-element.
dtdElementValidEntry.XMLElementDef | Determines whether an XML element allows a particular type of sub-element.
dtdElementValidEntry.XMLOrContent | Determines whether an XML element allows a particular type of sub-element.
dtdElementValidEntry.XMLSequenceContent | 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.
DTDLOAD | Parse an XML document with options controlling the parser.
DTDVALID | Parse an XML document with options controlling the parser.
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
ensureNamespace | Ensure that the node has a definition for particular XML namespaces
entityDeclaration.SAX | Generic Methods for SAX callbacks
entityDeclaration.SAX,ANY,ANY,ANY,ANY,ANY,SAXState-method | Generic Methods for SAX callbacks
ExternalReference-class | Classes for working with XML Schema

## -- F --

findXInclude | Find the XInclude node associated with an XML node
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
getEncoding | Determines the encoding for an XML document or node
getEncoding,XMLInternalDocument-method | Determines the encoding for an XML document or node
getEncoding,XMLInternalNode-method | Determines the encoding for an XML document or node
getLineNumber | Determine the line number of an (internal) XML node
getNodeSet | Find matching nodes in an internal XML tree/DOM
getRelativeURL | Compute name of URL relative to a base URL
getSibling | Manipulate sibling XML nodes
getXMLErrors | Get XML/HTML document parse errors

## -- H --

HTMLInternalDocument-class | Class to represent reference to C-level data structure for an XML document
htmlParse | XML Parser
htmlTreeParse | XML Parser
HUGE | Parse an XML document with options controlling the parser.

## -- I --

isXMLString | Facilities for working with XML strings

## -- L --

length.XMLNode | Determine the number of children in an XMLNode object.
libxmlFeatures | Query the version and available features of the libxml library.
libxmlTypeTable-class | Classes for working with XML Schema
libxmlVersion | Query the version and available features of the libxml library.

## -- M --

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

## -- N --

names,libxmlTypeTable-method | Classes for working with XML Schema
names,xmlSchemaRef-method | Classes for working with XML Schema
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
newXMLNamespace | Add a namespace definition to an XML node
newXMLNode | Create internal XML node or document object
newXMLPINode | Create internal XML node or document object
newXMLTextNode | Create internal XML node or document object
NOBASEFIX | Parse an XML document with options controlling the parser.
NOBLANKS | Parse an XML document with options controlling the parser.
NOCDATA | Parse an XML document with options controlling the parser.
NODICT | Parse an XML document with options controlling the parser.
NOENT | Parse an XML document with options controlling the parser.
NOERROR | Parse an XML document with options controlling the parser.
NONET | Parse an XML document with options controlling the parser.
NOWARNING | Parse an XML document with options controlling the parser.
NOXINCNODE | Parse an XML document with options controlling the parser.
NSCLEAN | Parse an XML document with options controlling the parser.

## -- O --

OLD10 | Parse an XML document with options controlling the parser.
OLDSAX | Parse an XML document with options controlling the parser.

## -- P --

parseDTD | Read a Document Type Definition (DTD)
parseURI | Parse a URI string into its elements
PEDANTIC | Parse an XML document with options controlling the parser.
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
processXInclude.list | Perform the XInclude substitutions
processXInclude.XMLInternalDocument | Perform the XInclude substitutions
processXInclude.XMLInternalElement | Perform the XInclude substitutions

## -- R --

readHTMLTable | Read data from one or more HTML tables
readHTMLTable,character-method | Read data from one or more HTML tables
readHTMLTable,HTMLInternalDocument-method | Read data from one or more HTML tables
readHTMLTable,XMLInternalElementNode-method | Read data from one or more HTML tables
RECOVER | Parse an XML document with options controlling the parser.
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
removeXMLNamespaces | Remove namespace definitions from a XML node or document
removeXMLNamespaces,XMLInternalDocument-method | Remove namespace definitions from a XML node or document
removeXMLNamespaces,XMLInternalElementNode-method | Remove namespace definitions from a XML node or document
removeXMLNamespaces,XMLInternalNode-method | Remove namespace definitions from a XML node or document
replaceNodes | Add child nodes to an XML node
RXMLNode-class | Classes to describe an XML node object.

## -- S --

saveXML | Output internal XML Tree
saveXML,XMLFlatTree-method | Output internal XML Tree
saveXML,XMLInternalDocument-method | Output internal XML Tree
saveXML,XMLInternalDOM-method | Output internal XML Tree
saveXML,XMLInternalNode-method | Output internal XML Tree
saveXML,XMLNode-method | Output internal XML Tree
saveXML,XMLOutputStream-method | Output internal XML Tree
saveXML.XMLInternalDocument | Output internal XML Tree
saveXML.XMLInternalDOM | Output internal XML Tree
saveXML.XMLInternalNode | Output internal XML Tree
saveXML.XMLNode | Output internal XML Tree
saveXML.XMLOutputStream | Output internal XML Tree
SAX1 | Parse an XML document with options controlling the parser.
SAXState-class | A virtual base class defining methods for SAX parsing
SchemaAttributeGroupTable-class | Classes for working with XML Schema
SchemaAttributeTable-class | Classes for working with XML Schema
SchemaElementTable-class | Classes for working with XML Schema
SchemaNotationTable-class | Classes for working with XML Schema
SchemaTypeTable-class | Classes for working with XML Schema
schemaValidationErrorHandler | Validate an XML document relative to an XML schema
show,XMLSchemaValidationResults-method | Classes for working with XML Schema
source,XMLCodeFile-method | Simple classes for identifying an XML document containing R code
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 --

XINCLUDE | Parse an XML document with options controlling the parser.
xml | Facilities for working with XML strings
XMLAbstractNode-class | Classes to describe an XML node object.
XMLAbstractNode-class | Classes to describe an XML node object.
xmlAncestors | Get parent node of XMLInternalNode or ancestor nodes
xmlApply | Applies a function to each of the children of an XMLNode
xmlApply.XMLDocument | Applies a function to each of the children of an XMLNode
xmlApply.XMLDocumentContent | Applies a function to each of the children of an XMLNode
xmlApply.XMLNode | Applies a function to each of the children of an XMLNode
XMLAttributeDeclNode-class | Classes to describe an XML node object.
xmlAttributeType | The type of an XML attribute for element from the DTD
xmlAttrs | Get the list of attributes of an XML node.
xmlAttrs.XMLElementDef | 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<- | 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.
xmlChildren.XMLInternalDocument | Gets the sub-nodes within an XMLNode object.
xmlChildren.XMLInternalNode | Gets the sub-nodes within an XMLNode object.
xmlChildren.XMLNode | Gets the sub-nodes within an XMLNode object.
xmlChildren<- | Gets the sub-nodes within an XMLNode object.
xmlChildren<-,ANY-method | Gets the sub-nodes within an XMLNode object.
xmlChildren<-,XMLInternalNode-method | Gets the sub-nodes within an XMLNode object.
xmlClone | Create a copy of an internal XML document or node
xmlClone,XMLInternalDocument-method | Create a copy of an internal XML document or node
xmlClone,XMLInternalNode-method | Create a copy of an internal XML document or node
XMLCodeDoc-class | Simple classes for identifying an XML document containing R code
xmlCodeFile | Simple classes for identifying an XML document containing R code
XMLCodeFile-class | Simple classes for identifying an XML document containing R code
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
XMLDocumentFragNode-class | Classes to describe an XML node object.
XMLDocumentNode-class | Classes to describe an XML node object.
XMLDocumentTypeNode-class | Classes to describe an XML node 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
xmlElementSummary | Frequency table of names of elements and attributes in XML content
XMLEntityDeclNode-class | Classes to describe an XML node object.
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.
xmlName.XMLComment | Extraces the tag name of an XMLNode object.
xmlName.XMLInternalNode | Extraces the tag name of an XMLNode object.
xmlName.XMLNode | Extraces the tag name of an XMLNode object.
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.
XMLNamespaceDeclNode-class | Classes to describe an XML node object.
xmlNamespaceDefinitions | Get definitions of any namespaces defined in this XML node
XMLNamespaceDefinitions-class | Classes to describe an XML node object.
xmlNamespaces | Get definitions of any namespaces defined in this XML node
xmlNamespaces<- | Get definitions of any namespaces defined in this XML node
xmlNamespaces<-,XMLInternalNode-method | Get definitions of any namespaces defined in this XML node
xmlNamespaces<-,XMLNode-method | Get definitions of any namespaces defined in this XML node
xmlNativeTreeParse | XML Parser
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
xmlParent.XMLInternalNode | Get parent node of XMLInternalNode or ancestor nodes
xmlParse | XML Parser
xmlParseDoc | Parse an XML document with options controlling the parser.
xmlParserContextFunction | Identifies function as expecting an xmlParserContext argument
xmlParseString | Facilities for working with XML strings
xmlPINode | Create an XML node
xmlRoot | Get the top-level XML node.
xmlRoot.HTMLDocument | Get the top-level XML node.
xmlRoot.XMLDocument | Get the top-level XML node.
xmlRoot.XMLDocumentContent | Get the top-level XML node.
xmlRoot.XMLDocumentRoot | Get the top-level XML node.
xmlRoot.XMLInternalDocument | Get the top-level XML node.
xmlRoot.XMLInternalDOM | Get the top-level XML node.
xmlSApply | Applies a function to each of the children of an XMLNode
xmlSApply.XMLDocument | Applies a function to each of the children of an XMLNode
xmlSApply.XMLDocumentContent | Applies a function to each of the children of an XMLNode
xmlSApply.XMLNode | Applies a function to each of the children of an XMLNode
xmlSchemaAttributeGroupRef-class | Classes for working with XML Schema
xmlSchemaAttributeRef-class | Classes for working with XML Schema
xmlSchemaElementRef-class | Classes for working with XML Schema
xmlSchemaNotationRef-class | Classes for working with XML Schema
xmlSchemaParse | XML Parser
xmlSchemaRef-class | Classes for working with XML Schema
xmlSchemaTypeRef-class | Classes for working with XML Schema
xmlSchemaValidate | Validate an XML document relative to an XML schema
xmlSize | The number of sub-elements within an XML node.
xmlSize.default | The number of sub-elements within an XML node.
xmlSize.XMLDocument | The number of sub-elements within an XML node.
xmlSize.XMLNode | 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,XMLInternalDocument-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
XMLString-class | Facilities for working with XML strings
xmlStructuredStop | Condition/error handler functions for XML parsing
xmlTextNode | Create an XML node
xmlToList | Convert an XML node/document to a more R-like list
xmlTree | An internal, updatable DOM object for building XML trees
xmlTreeParse | XML Parser
xmlValue | Extract or set the contents of a leaf XML node
xmlValue.XMLCDataNode | Extract or set the contents of a leaf XML node
xmlValue.XMLComment | Extract or set the contents of a leaf XML node
xmlValue.XMLNode | Extract or set the contents of a leaf XML node
xmlValue.XMLProcessingInstruction | Extract or set the contents of a leaf XML node
xmlValue.XMLTextNode | Extract or set the contents of a leaf XML node
xmlValue<- | Extract or set the contents of a leaf XML node
xmlValue<-,XMLAbstractNode-method | Extract or set the contents of a leaf XML node
xmlValue<-,XMLInternalTextNode-method | Extract or set the contents of a leaf XML node
xmlValue<-,XMLTextNode-method | Extract or set the contents of a leaf XML node
XMLXIncludeEndNode-class | Classes to describe an XML node object.
XMLXIncludeStartNode-class | Classes to describe an XML node object.
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.
[<-.XMLNode | Assign sub-nodes to an XML node
[[,XMLCodeFile,ANY,ANY-method | Simple classes for identifying an XML document containing R code
[[,XMLCodeFile-method | Simple classes for identifying an XML document containing R code
[[.XMLDocumentContent | Convenience accessors for the children of XMLNode objects.
[[.XMLNode | Convenience accessors for the children of XMLNode objects.
[[<-.XMLNode | Assign sub-nodes to an XML node