xml2: Parse XML
Version 1.1.1

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

Browse man pages Browse package API and functions Browse package files

AuthorHadley Wickham [aut], James Hester [aut, cre], Jeroen Ooms [aut], RStudio [cph], R Foundation [ctb] (Copy of R-project homepage cached as example)
Date of publication2017-01-24 08:12:30
MaintainerJames Hester <james.hester@rstudio.com>
LicenseGPL (>= 2)
Version1.1.1
URL https://github.com/hadley/xml2/
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("xml2")

Man pages

as_list: Coerce xml nodes to a list.
as_xml_document: Coerce a R list to xml nodes.
read_xml: 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.
write_xml: Write XML or HTML to disk.
xml_attr: Retrieve an attribute.
xml_cdata: Construct a cdata node
xml_children: Navigate around the family tree.
xml_comment: Construct a comment node
xml_dtd: Construct a document type definition
xml_find_all: Find nodes that match an xpath expression.
xml_missing: Construct an missing xml object
xml_name: The (tag) name of an xml element.
xml_new_document: Create a new document, possibly with a root node
xml_ns: XML namespaces.
xml_ns_strip: Strip the default namespaces from a document
xml_path: Retrieve the xpath to a node
xml_replace: Modify a tree by inserting, replacing or removing nodes
xml_serialize: Serializing XML objects to connections.
xml_set_namespace: Set the node's namespace
xml_structure: Show the structure of an html/xml document.
xml_text: Extract or modify the text
xml_type: Determine the type of a node.
xml_url: The URL of an XML document
xml_validate: Validate XML schema

Functions

as.character.xml_document Source code
as.character.xml_missing Source code
as.character.xml_node Source code
as.character.xml_nodeset Source code
as_list Man page Source code
as_list.xml_document Source code
as_list.xml_missing Source code
as_list.xml_node Source code
as_list.xml_nodeset Source code
as_xml_document Man page Source code
as_xml_document.list Source code
as_xml_document.xml_document Source code
as_xml_document.xml_node Source code
as_xml_document.xml_nodeset Source code
check_path Source code
create_node Source code
describe_options Source code
doc_has_root Source code
doc_namespaces Source code
doc_new Source code
doc_parse_file Source code
doc_parse_raw Source code
doc_root Source code
doc_set_root Source code
doc_url Source code
doc_validate Source code
doc_write_character Source code
doc_write_connection Source code
doc_write_file Source code
format.xml_missing Source code
format.xml_node Source code
format_attributes Source code
has_names Source code
html_structure Man page Source code
is.na.xml_missing Source code
is.na.xml_node Source code
is.na.xml_nodeset Source code
is_absolute_path Source code
is_installed Source code
is_named Source code
is_url Source code
libxml2_version Source code
make_nodeset Source code
need_package Source code
node_append_child Source code
node_append_content Source code
node_append_sibling Source code
node_attr Source code
node_attrs Source code
node_cdata_new Source code
node_children Source code
node_comment_new Source code
node_copy Source code
node_length Source code
node_name Source code
node_new Source code
node_new_dtd Source code
node_new_ns Source code
node_null Source code
node_parent Source code
node_parents Source code
node_path Source code
node_prepend_sibling Source code
node_remove Source code
node_replace Source code
node_set_attr Source code
node_set_content Source code
node_set_name Source code
node_set_namespace_prefix Source code
node_set_namespace_uri Source code
node_siblings Source code
node_text Source code
node_type Source code
node_write_character Source code
node_write_connection Source code
node_write_file Source code
nodes_duplicated Source code
nodeset_apply Source code
nodeset_apply.xml_document Source code
nodeset_apply.xml_missing Source code
nodeset_apply.xml_node Source code
nodeset_apply.xml_nodeset Source code
ns_lookup Source code
ns_lookup_uri Source code
onUnload Source code
parse_options Source code
path_to_connection Source code
print.xml_document Source code
print.xml_missing Source code
print.xml_namespace Source code
print.xml_node Source code
print.xml_nodeset Source code
print_xml_structure Source code
quote_str Source code
r_attrs_to_xml Source code
read_connection_ Source code
read_html Man page Source code
read_html.default Source code
read_html.response Source code
read_xml Man page Source code
read_xml.character Man page Source code
read_xml.connection Man page Source code
read_xml.raw Man page Source code
read_xml.response Source code
s_quote Source code
set_attr_fun Source code
set_attrs_fun Source code
set_name Source code
show_nodes Source code
tree_structure Source code
tree_structure.xml_missing Source code
tree_structure.xml_node Source code
tree_structure.xml_nodeset Source code
unique_ns Source code
url_absolute Man page Source code
url_escape Man page Source code
url_parse Man page Source code
url_relative Man page Source code
url_unescape Man page Source code
write_html Man page Source code
write_html.xml_document Man page
write_html.xml_missing Source code
write_xml Man page Source code
write_xml.xml_document Man page Source code
write_xml.xml_missing Source code
write_xml.xml_node Source code
write_xml.xml_nodeset Source code
xml_add_child Man page Source code
xml_add_child.xml_document Source code
xml_add_child.xml_missing Source code
xml_add_child.xml_node Source code
xml_add_child.xml_nodeset Source code
xml_add_parent Man page Source code
xml_add_parent.xml_missing Source code
xml_add_parent.xml_node Source code
xml_add_parent.xml_nodeset Source code
xml_add_sibling Man page Source code
xml_add_sibling.xml_missing Source code
xml_add_sibling.xml_node Source code
xml_add_sibling.xml_nodeset Source code
xml_attr Man page Source code
xml_attr.xml_missing Source code
xml_attr.xml_node Source code
xml_attr.xml_nodeset Source code
xml_attr<- Man page
xml_attrs Man page Source code
xml_attrs.xml_missing Source code
xml_attrs.xml_node Source code
xml_attrs.xml_nodeset Source code
xml_attrs<- Man page
xml_cdata Man page Source code
xml_child Man page Source code
xml_children Man page Source code
xml_comment Man page Source code
xml_contents Man page Source code
xml_document Source code
xml_double Man page Source code
xml_double.xml_missing Source code
xml_double.xml_node Source code
xml_double.xml_nodeset Source code
xml_dtd Man page Source code
xml_find_all Man page Source code
xml_find_all.xml_missing Source code
xml_find_all.xml_node Source code
xml_find_all.xml_nodeset Source code
xml_find_chr Man page Source code
xml_find_chr.xml_missing Source code
xml_find_chr.xml_node Source code
xml_find_chr.xml_nodeset Source code
xml_find_first Man page Source code
xml_find_first.xml_missing Source code
xml_find_first.xml_node Source code
xml_find_first.xml_nodeset Source code
xml_find_lgl Man page Source code
xml_find_lgl.xml_missing Source code
xml_find_lgl.xml_node Source code
xml_find_lgl.xml_nodeset Source code
xml_find_num Man page Source code
xml_find_num.xml_missing Source code
xml_find_num.xml_node Source code
xml_find_num.xml_nodeset Source code
xml_find_one Man page Source code
xml_has_attr Man page Source code
xml_integer Man page Source code Source code
xml_integer.xml_missing Source code
xml_integer.xml_node Source code
xml_integer.xml_nodeset Source code
xml_length Man page Source code
xml_length.xml_missing Source code
xml_length.xml_node Source code
xml_length.xml_nodeset Source code
xml_missing Man page Source code
xml_name Man page Source code
xml_name.xml_missing Source code
xml_name.xml_node Source code
xml_name.xml_nodeset Source code
xml_name<- Man page
xml_new_document Man page Source code
xml_new_root Man page Source code
xml_node Source code
xml_nodeset Source code
xml_ns Man page Source code
xml_ns.xml_document Source code
xml_ns.xml_missing Source code
xml_ns.xml_node Source code
xml_ns.xml_nodeset Source code
xml_ns_rename Man page Source code
xml_ns_strip Man page Source code
xml_parent Man page Source code
xml_parent.xml_missing Source code
xml_parent.xml_node Source code
xml_parent.xml_nodeset Source code
xml_parents Man page Source code
xml_parse_options Source code
xml_path Man page Source code
xml_path.xml_missing Source code
xml_path.xml_node Source code
xml_path.xml_nodeset Source code
xml_remove Man page Source code
xml_remove.xml_missing Source code
xml_remove.xml_node Source code
xml_remove.xml_nodeset Source code
xml_replace Man page Source code
xml_replace.xml_missing Source code
xml_replace.xml_node Source code
xml_replace.xml_nodeset Source code
xml_root Man page Source code
xml_save_options Source code
xml_serialize Man page Source code
xml_serialize.xml_document Source code
xml_serialize.xml_node Source code
xml_serialize.xml_nodeset Source code
xml_set_attr Man page Source code
xml_set_attrs Man page Source code
xml_set_name Man page Source code
xml_set_namespace Man page Source code
xml_set_text Man page
xml_siblings Man page Source code
xml_structure Man page Source code
xml_text Man page Source code
xml_text.xml_missing Source code
xml_text.xml_node Source code
xml_text.xml_nodeset Source code
xml_text<- Man page
xml_to_r_attrs Source code
xml_type Man page Source code
xml_type.xml_missing Source code
xml_type.xml_node Source code
xml_type.xml_nodeset Source code
xml_unserialize Man page Source code
xml_url Man page Source code
xml_url.xml_missing Source code
xml_url.xml_node Source code
xml_url.xml_nodeset Source code
xml_validate Man page Source code
xml_validate.xml_document Source code
xpath_search Source code
zipfile Source code

Files

inst
inst/extdata
inst/extdata/order-schema.xml
inst/extdata/r-project.html
inst/extdata/order-doc.xml
inst/doc
inst/doc/modification.html
inst/doc/modification.R
inst/doc/modification.Rmd
inst/include
inst/include/xml2_types.h
tests
tests/testthat.R
tests/testthat
tests/testthat/helper-version.R
tests/testthat/test-url.R
tests/testthat/test-xml_serialize.R
tests/testthat/lego.html.bz2
tests/testthat/test-xml_nodeset.R
tests/testthat/test-read-xml.R
tests/testthat/ns-multiple-aliases.xml
tests/testthat/test-xml_find.R
tests/testthat/test-xml_children.R
tests/testthat/test-write_xml.R
tests/testthat/test-null.R
tests/testthat/test-xml_text.R
tests/testthat/test-xml_attrs.R
tests/testthat/test-comment.R
tests/testthat/output
tests/testthat/output/print-xml_nodeset.txt
tests/testthat/output/print-xml_node.txt
tests/testthat/output/print-xml_document.txt
tests/testthat/output/html_structure.txt
tests/testthat/test-as_xml_document.R
tests/testthat/test-xml_structure.R
tests/testthat/test-cdata.R
tests/testthat/test-xml_missing.R
tests/testthat/ns-multiple.xml
tests/testthat/cd_catalog.xml.bz2
tests/testthat/test-dtd.R
tests/testthat/test-modify-xml.R
tests/testthat/test-print.R
tests/testthat/test-as_list.R
tests/testthat/test-xml_name.R
tests/testthat/test-format.R
tests/testthat/test-namespaces.R
tests/testthat/ns-multiple-default.xml
tests/testthat/test-xml_schema.R
tests/testthat/ns-multiple-prefix.xml
src
src/xml2_utils.h
src/xml2_output.cpp
src/xml2_doc.cpp
src/xml2_xpath.cpp
src/xml2_init.cpp
src/connection.cpp
src/xml2_namespace.cpp
src/Makevars.in
src/xml2_schema.cpp
src/Makevars.win
src/RcppExports.cpp
src/xml2_url.cpp
src/xml2_node.cpp
NAMESPACE
NEWS.md
R
R/classes.R
R/utils.R
R/xml_url.R
R/as_xml_document.R
R/xml_schema.R
R/xml_children.R
R/xml_path.R
R/xml_attr.R
R/xml_structure.R
R/xml_serialize.R
R/RcppExports.R
R/xml_namespaces.R
R/paths.R
R/xml_text.R
R/xml_modify.R
R/xml_type.R
R/xml_name.R
R/xml_find.R
R/xml_parse.R
R/zzz.R
R/xml_write.R
R/as_list.R
vignettes
vignettes/releases
vignettes/releases/xml2-1.1.0.Rmd
vignettes/modification.Rmd
README.md
MD5
build
build/vignette.rds
build/xml2.pdf
DESCRIPTION
configure
man
man/xml_new_document.Rd
man/read_xml.Rd
man/xml_path.Rd
man/as_xml_document.Rd
man/xml_text.Rd
man/xml_children.Rd
man/xml_replace.Rd
man/xml_cdata.Rd
man/xml_set_namespace.Rd
man/xml_missing.Rd
man/url_absolute.Rd
man/as_list.Rd
man/xml_validate.Rd
man/xml_find_all.Rd
man/xml_attr.Rd
man/xml_serialize.Rd
man/url_parse.Rd
man/xml_name.Rd
man/xml_comment.Rd
man/xml_dtd.Rd
man/xml_url.Rd
man/write_xml.Rd
man/xml_ns.Rd
man/url_escape.Rd
man/xml_ns_strip.Rd
man/xml_type.Rd
man/xml_structure.Rd
configure.win
cleanup
tools
tools/winlibs.R
xml2 documentation built on May 20, 2017, 1:32 a.m.