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

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

## Help Pages

A C D E F G H L M N 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
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,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,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,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

## -- D --

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
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
ExternalReference-class | Classes for working with XML Schema

## -- 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
getRelativeURL | Compute name of URL relative to a base URL
getSibling | Manipulate sibling XML nodes
getXMLErrors | Get XML/HTML document parse errors

## -- H --

htmlParse | XML Parser
htmlTreeParse | XML Parser

## -- L --

length.XMLNode | Determine the number of children in an XMLNode object.
libxmlTypeTable-class | Classes for working with XML Schema
libxmlVersion | Get the version 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

## -- 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
RXMLNode-class | Classes to describe an XML node object.

## -- S --

saveXML | Output internal XML Tree
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
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 --

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
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<-,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<-,ANY-method | Gets the sub-nodes within an XMLNode object.
xmlChildren<-,XMLInternalNode-method | 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
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.
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<-,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
xmlParse | XML Parser
xmlParserContextFunction | Identifies function as expecting an xmlParserContext argument
xmlPINode | Create an XML node
xmlRoot | Get the top-level XML node.
xmlSApply | 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.
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
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<-,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.
[[.XMLDocumentContent | Convenience accessors for the children of XMLNode objects.
[[.XMLNode | Convenience accessors for the children of XMLNode objects.