# Parse XML

## Documentation for package ‘xml2’ version 1.6.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

as_list | Coerce xml nodes to a list.
as_xml_document | Coerce a R list to xml nodes.
download_html | Download a HTML or XML file
download_xml | Download a HTML or XML file
html_structure | Show the structure of an html/xml document.
read_html | Read HTML or XML.
read_xml | Read HTML or XML.
read_xml.character | Read HTML or XML.
read_xml.connection | Read HTML or XML.
read_xml.raw | Read HTML or XML.
url_absolute | Convert between relative and absolute urls.
url_escape | Escape and unescape urls.
url_parse | Parse a url into its component pieces.
url_relative | Convert between relative and absolute urls.
url_unescape | Escape and unescape urls.
write_html | Write XML or HTML to disk.
write_html.xml_document | Write XML or HTML to disk.
write_xml | Write XML or HTML to disk.
write_xml.xml_document | Write XML or HTML to disk.
xml2_example | Get path to a xml2 example
xml_add_child | Modify a tree by inserting, replacing or removing nodes
xml_add_parent | Modify a tree by inserting, replacing or removing nodes
xml_add_sibling | Modify a tree by inserting, replacing or removing nodes
xml_attr | Retrieve an attribute.
xml_attr<- | Retrieve an attribute.
xml_attrs | Retrieve an attribute.
xml_attrs<- | Retrieve an attribute.
xml_cdata | Construct a cdata node
xml_child | Navigate around the family tree.
xml_children | Navigate around the family tree.
xml_comment | Construct a comment node
xml_contents | Navigate around the family tree.
xml_double | Extract or modify the text
xml_dtd | Construct a document type definition
xml_find_all | Find nodes that match an xpath expression.
xml_find_all.xml_nodeset | Find nodes that match an xpath expression.
xml_find_chr | Find nodes that match an xpath expression.
xml_find_first | Find nodes that match an xpath expression.
xml_find_int | Find nodes that match an xpath expression.
xml_find_lgl | Find nodes that match an xpath expression.
xml_find_num | Find nodes that match an xpath expression.
xml_find_one | Find nodes that match an xpath expression.
xml_has_attr | Retrieve an attribute.
xml_integer | Extract or modify the text
xml_length | Navigate around the family tree.
xml_name | The (tag) name of an xml element.
xml_name<- | The (tag) name of an xml element.
xml_new_document | Create a new document, possibly with a root node
xml_new_root | Create a new document, possibly with a root node
xml_ns | XML namespaces.
xml_ns_rename | XML namespaces.
xml_ns_strip | Strip the default namespaces from a document
xml_parent | Navigate around the family tree.
xml_parents | Navigate around the family tree.
xml_path | Retrieve the xpath to a node
xml_remove | Modify a tree by inserting, replacing or removing nodes
xml_replace | Modify a tree by inserting, replacing or removing nodes
xml_root | Navigate around the family tree.
xml_serialize | Serializing XML objects to connections.
xml_set_attr | Retrieve an attribute.
xml_set_attrs | Retrieve an attribute.
xml_set_name | The (tag) name of an xml element.
xml_set_namespace | Set the node's namespace
xml_set_text | Extract or modify the text
xml_siblings | Navigate around the family tree.
xml_structure | Show the structure of an html/xml document.
xml_text | Extract or modify the text
xml_text<- | Extract or modify the text
xml_type | Determine the type of a node.
xml_unserialize | Serializing XML objects to connections.
xml_url | The URL of an XML document
xml_validate | Validate XML schema