powered by
This is useful for interpreting relative urls with url_relative().
url_relative()
xml_url(x)
A character vector of length 1. Returns NA if the name is not set.
NA
A node or document.
catalog <- read_xml(xml2_example("cd_catalog.xml")) xml_url(catalog) x <- read_xml("") xml_url(x)
Run the code above in your browser using DataLab