xml2 comes bundled with a number of sample files in its ‘inst/extdata’ directory. This function makes them easy to access.

xml2_example(path = NULL)

Arguments

path

Name of file. If NULL, the example files will be listed.