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

Version

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)

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.