Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (1.5.1) of this package.
Take me there.
xml2 (version 0.1.0)
Parse XML
Description
Work with XML files using a simple, consistent interface. Built on top of the 'libxml2' C library.
Copy Link
Link to current version
Version
Version
1.5.1
1.5.0
1.4.1
1.4.0
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.5
1.2.4
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.0
0.1.2
0.1.1
0.1.0
Install
install.packages('xml2')
Monthly Downloads
995,226
Version
0.1.0
License
GPL (>= 2)
Maintainer
Hadley Wickham
Last Published
April 20th, 2015
Functions in xml2 (0.1.0)
Search all functions
xml_ns
XML namespaces.
url_parse
Parse a url into its component pieces.
url_absolute
Convert between relative and absolute urls.
xml_text
Extract the text
xml_children
Navigate around the family tree.
xml_attr
Retrieve an attribute.
xml_url
The URL of an XML document
as_list
Coerce xml nodes to a list.
write_xml
Write XML to disk.
xml_name
The (tag) name of an xml element.
xml_structure
Show the structure of an html/xml document.
xml_path
Retrieve the xpath to a node
url_escape
Escape and unescape urls.
xml_type
Determine the type of a node.
read_xml
Read HTML or XML.
xml_find_all
Find nodes that match an xpath expression.