by James Hester

Monthly downloads



URL https://github.com/hadley/xml2/
BugReports https://github.com/hadley/xml2/issues/
LinkingTo Rcpp (>=, BH
SystemRequirements libxml2: libxml2-dev (deb), libxml2-devel (rpm)
License GPL (>= 2)
VignetteBuilder knitr
Collate 'RcppExports.R' 'as_list.R' 'xml_parse.R' 'as_xml_document.R' 'classes.R' 'paths.R' 'utils.R' 'xml_attr.R' 'xml_children.R' 'xml_find.R' 'xml_modify.R' 'xml_name.R' 'xml_namespaces.R' 'xml_path.R' 'xml_schema.R' 'xml_serialize.R' 'xml_structure.R' 'xml_text.R' 'xml_type.R' 'xml_url.R' 'xml_write.R' 'zzz.R'
NeedsCompilation yes
Packaged 2017-01-06 14:09:44 UTC; jhester
Repository CRAN
Date/Publication 2017-01-07 11:35:17

Parse XML

Work with XML files using a simple, consistent interface. Built on top of the 'libxml2' C library.
Full Readme

Functions in xml2

Name Description
as_list Coerce xml nodes to a list.
as_xml_document Coerce a R list to xml nodes.
xml_cdata Construct a cdata node
url_escape Escape and unescape urls.
url_parse Parse a url into its component pieces.
url_absolute Convert between relative and absolute urls.
xml_attr Retrieve an attribute.
xml_children Navigate around the family tree.
xml_comment Construct a comment node
xml_dtd Construct a document type definition
xml_ns_strip Strip the default namespaces from a document
xml_ns XML namespaces.
xml_replace Modify a tree by inserting, replacing or removing nodes
xml_find_all Find nodes that match an xpath expression.
xml_path Retrieve the xpath to a node
xml_missing Construct an missing xml object
xml_serialize Serializing XML objects to connections.
xml_set_namespace Set the node's namespace
xml_name The (tag) name of an xml element.
xml_new_document Create a new document, possibly with a root node
xml_validate Validate XML schema
xml_text Extract or modify the text
xml_structure Show the structure of an html/xml document.
xml_type Determine the type of a node.
xml_url The URL of an XML document
No Results!


Get your badge !