# \donttest{
temploc <- paste(tempdir(), "elxnotice.xml", sep = "\\")
elx_download_xml(url = "http://publications.europa.eu/resource/celex/32022D0154",
file = temploc, notice = "object")
unlink(temploc)
# }
Run the code above in your browser using DataLab