xml2: Parse XML

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

Author
Hadley Wickham [aut, cre], James Hester [aut], Jeroen Ooms [ctb], RStudio [cph], R Foundation [ctb] (Copy of R-project homepage cached as example)
Date of publication
2016-06-24 11:57:15
Maintainer
Hadley Wickham <hadley@rstudio.com>
License
GPL (>= 2)
Version
1.0.0
URLs

View on CRAN

Man pages

as_list
Coerce xml nodes to a list.
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 to disk.
xml_attr
Retrieve an attribute.
xml_children
Navigate around the family tree.
xml_find_all
Find nodes that match an xpath expression.
xml_name
The (tag) name of an xml element.
xml_name-set
Modify the (tag) name of an element
xml_new_document
Create a new document
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_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

Files in this package

xml2
xml2/inst
xml2/inst/extdata
xml2/inst/extdata/r-project.html
xml2/inst/doc
xml2/inst/doc/modification.html
xml2/inst/doc/modification.R
xml2/inst/doc/modification.Rmd
xml2/tests
xml2/tests/testthat.R
xml2/tests/testthat
xml2/tests/testthat/helper-version.R
xml2/tests/testthat/test-url.R
xml2/tests/testthat/lego.html.bz2
xml2/tests/testthat/test-read-xml.R
xml2/tests/testthat/ns-multiple-aliases.xml
xml2/tests/testthat/test-as.list.R
xml2/tests/testthat/test-xml_find.R
xml2/tests/testthat/test-xml_children.R
xml2/tests/testthat/test-xml_text.R
xml2/tests/testthat/test-xml_attrs.R
xml2/tests/testthat/test-xml_structure.R
xml2/tests/testthat/test-xml_missing.R
xml2/tests/testthat/ns-multiple.xml
xml2/tests/testthat/cd_catalog.xml.bz2
xml2/tests/testthat/test-modify-xml.R
xml2/tests/testthat/test-xml_name.R
xml2/tests/testthat/test-format.R
xml2/tests/testthat/test-namespaces.R
xml2/tests/testthat/ns-multiple-default.xml
xml2/tests/testthat/ns-multiple-prefix.xml
xml2/src
xml2/src/xml2_utils.h
xml2/src/xml2_doc.cpp
xml2/src/xml2_xpath.cpp
xml2/src/xml2_types.h
xml2/src/xml2_init.cpp
xml2/src/xml_push.cpp
xml2/src/connection.cpp
xml2/src/xml2_namespace.cpp
xml2/src/Makevars.in
xml2/src/Makevars.win
xml2/src/RcppExports.cpp
xml2/src/xml2_url.cpp
xml2/src/xml2_node.cpp
xml2/NAMESPACE
xml2/NEWS.md
xml2/R
xml2/R/classes.R
xml2/R/utils.R
xml2/R/xml_url.R
xml2/R/xml_children.R
xml2/R/xml_path.R
xml2/R/xml_attr.R
xml2/R/xml_structure.R
xml2/R/RcppExports.R
xml2/R/xml_namespaces.R
xml2/R/paths.R
xml2/R/xml_text.R
xml2/R/xml_modify.R
xml2/R/xml_type.R
xml2/R/xml_name.R
xml2/R/xml_find.R
xml2/R/xml_parse.R
xml2/R/zzz.R
xml2/R/xml_write.R
xml2/R/as_list.R
xml2/vignettes
xml2/vignettes/modification.Rmd
xml2/README.md
xml2/MD5
xml2/build
xml2/build/vignette.rds
xml2/DESCRIPTION
xml2/configure
xml2/man
xml2/man/xml_new_document.Rd
xml2/man/read_xml.Rd
xml2/man/xml_path.Rd
xml2/man/xml_text.Rd
xml2/man/xml_children.Rd
xml2/man/xml_replace.Rd
xml2/man/xml_name-set.Rd
xml2/man/xml_set_namespace.Rd
xml2/man/url_absolute.Rd
xml2/man/as_list.Rd
xml2/man/xml_find_all.Rd
xml2/man/xml_attr.Rd
xml2/man/url_parse.Rd
xml2/man/xml_name.Rd
xml2/man/xml_url.Rd
xml2/man/write_xml.Rd
xml2/man/xml_ns.Rd
xml2/man/url_escape.Rd
xml2/man/xml_ns_strip.Rd
xml2/man/xml_type.Rd
xml2/man/xml_structure.Rd
xml2/configure.win
xml2/tools
xml2/tools/winlibs.R