Package: xml2 1.3.6.9000

Hadley Wickham

xml2: Parse XML

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

Authors:Hadley Wickham [aut, cre], Jim Hester [aut], Jeroen Ooms [aut], Posit Software, PBC [cph, fnd], R Foundation [ctb]

xml2_1.3.6.9000.tar.gz
xml2_1.3.6.9000.zip(r-4.5)xml2_1.3.6.9000.zip(r-4.4)xml2_1.3.6.9000.zip(r-4.3)
xml2_1.3.6.9000.tgz(r-4.4-x86_64)xml2_1.3.6.9000.tgz(r-4.4-arm64)xml2_1.3.6.9000.tgz(r-4.3-x86_64)xml2_1.3.6.9000.tgz(r-4.3-arm64)
xml2_1.3.6.9000.tar.gz(r-4.5-noble)xml2_1.3.6.9000.tar.gz(r-4.4-noble)
xml2_1.3.6.9000.tgz(r-4.4-emscripten)xml2_1.3.6.9000.tgz(r-4.3-emscripten)
xml2.pdf |xml2.html
xml2/json (API)
NEWS

# Install 'xml2' in R:
install.packages('xml2', repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-lib/xml2/issues

Pkgdown:https://xml2.r-lib.org

Uses libs:
  • libxml2– GNOME XML library
  • c++– GNU Standard C++ Library v3

On CRAN:

libxml2xmlcpp

18.35 score 220 stars 2.2k packages 6.3k scripts 842k downloads 6 mentions 67 exports 2 dependencies

Last updated 10 hours agofrom:04dacdd5ad. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 16 2024
R-4.5-win-x86_64OKDec 16 2024
R-4.5-linux-x86_64OKDec 16 2024
R-4.4-win-x86_64OKDec 16 2024
R-4.4-mac-x86_64OKDec 16 2024
R-4.4-mac-aarch64OKDec 16 2024
R-4.3-win-x86_64OKDec 16 2024
R-4.3-mac-x86_64OKDec 16 2024
R-4.3-mac-aarch64OKDec 16 2024

Exports:as_listas_xml_documentdownload_htmldownload_xmlhtml_structureread_htmlread_xmlurl_absoluteurl_escapeurl_parseurl_relativeurl_unescapewrite_htmlwrite_xmlxml_add_childxml_add_parentxml_add_siblingxml_attrxml_attr<-xml_attrsxml_attrs<-xml_cdataxml_childxml_childrenxml_commentxml_contentsxml_doublexml_dtdxml_find_allxml_find_chrxml_find_firstxml_find_intxml_find_lglxml_find_numxml_find_onexml_has_attrxml_integerxml_lengthxml_missingxml_namexml_name<-xml_new_documentxml_new_rootxml_nsxml_ns_renamexml_ns_stripxml_parentxml_parentsxml_pathxml_removexml_replacexml_rootxml_serializexml_set_attrxml_set_attrsxml_set_namexml_set_namespacexml_set_textxml_siblingsxml_structurexml_textxml_text<-xml_typexml_unserializexml_urlxml_validatexml2_example

Dependencies:clirlang

Node Modification

Rendered frommodification.Rmdusingknitr::rmarkdownon Dec 16 2024.

Last update: 2023-08-22
Started: 2016-05-18

Readme and manuals

Help Manual

Help pageTopics
Coerce xml nodes to a list.as_list
Coerce a R list to xml nodes.as_xml_document
Download a HTML or XML filedownload_html download_xml
Read HTML or XML.read_html read_xml read_xml.character read_xml.connection read_xml.raw
Convert between relative and absolute urls.url_absolute url_relative
Escape and unescape urls.url_escape url_unescape
Parse a url into its component pieces.url_parse
Write XML or HTML to disk.write_html write_html.xml_document write_xml write_xml.xml_document
Retrieve an attribute.xml_attr xml_attr<- xml_attrs xml_attrs<- xml_has_attr xml_set_attr xml_set_attrs
Construct a cdata nodexml_cdata
Navigate around the family tree.xml_child xml_children xml_contents xml_length xml_parent xml_parents xml_root xml_siblings
Construct a comment nodexml_comment
Construct a document type definitionxml_dtd
Find nodes that match an xpath expression.xml_find_all xml_find_all.xml_nodeset xml_find_chr xml_find_first xml_find_int xml_find_lgl xml_find_num xml_find_one
The (tag) name of an xml element.xml_name xml_name<- xml_set_name
Create a new document, possibly with a root nodexml_new_document xml_new_root
XML namespaces.xml_ns xml_ns_rename
Strip the default namespaces from a documentxml_ns_strip
Retrieve the xpath to a nodexml_path
Modify a tree by inserting, replacing or removing nodesxml_add_child xml_add_parent xml_add_sibling xml_remove xml_replace
Serializing XML objects to connections.xml_serialize xml_unserialize
Set the node's namespacexml_set_namespace
Show the structure of an html/xml document.html_structure xml_structure
Extract or modify the textxml_double xml_integer xml_set_text xml_text xml_text<-
Determine the type of a node.xml_type
The URL of an XML documentxml_url
Validate XML schemaxml_validate
Get path to a xml2 examplexml2_example