url_relative
xml_url(x)
NA
catalog <- read_xml("http://www.xmlfiles.com/examples/cd_catalog.xml") xml_url(catalog) x <- read_xml("<foo/>") xml_url(x)
Run the code above in your browser using DataCamp Workspace