Package: xml2 1.3.6
xml2: Parse XML
Work with XML files using a simple, consistent interface. Built on top of the 'libxml2' C library.
Authors:
xml2_1.3.6.tar.gz
xml2_1.3.6.tar.gz(r-4.5-noble)xml2_1.3.6.tar.gz(r-4.4-noble)
xml2_1.3.6.tgz(r-4.4-emscripten)xml2_1.3.6.tgz(r-4.3-emscripten)
xml2.pdf |xml2.html✨
xml2/json (API)
NEWS
# Install 'xml2' in R: |
install.packages('xml2', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/r-lib/xml2/issues
Pkgdown site:https://xml2.r-lib.org
Last updated 1 years agofrom:ac0676cf18. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 18 2024 |
R-4.5-linux-x86_64 | OK | Dec 18 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Coerce xml nodes to a list. | as_list |
Coerce a R list to xml nodes. | as_xml_document |
Download a HTML or XML file | download_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 node | xml_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 node | xml_comment |
Construct a document type definition | xml_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 node | xml_new_document xml_new_root |
XML namespaces. | xml_ns xml_ns_rename |
Strip the default namespaces from a document | xml_ns_strip |
Retrieve the xpath to a node | xml_path |
Modify a tree by inserting, replacing or removing nodes | xml_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 namespace | xml_set_namespace |
Show the structure of an html/xml document. | html_structure xml_structure |
Extract or modify the text | xml_double xml_integer xml_set_text xml_text xml_text<- |
Determine the type of a node. | xml_type |
The URL of an XML document | xml_url |
Validate XML schema | xml_validate |
Get path to a xml2 example | xml2_example |