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
Post a Comment