How to read in XML files with multiple root elements in R? -


i've been thrust bunch of xml files not formed. have multiple root elements. both xmlparse in xml , read_xml in xml2 packages barf when try use them read them in error: 1: content @ end of document. there package makes reading multiple root elements easy, or need resort more brutish methods?

xml standard not support multiple root messages.

i advice read content string, wrap single root , pass of xml r libraries.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -