I have trouble reading & using a strange kind of xml file. It's an .eml file (election markup language), which is a version of XML. The content looks like this:
<ManagingAuthority>
<AuthorityIdentifier Id="0362">Amstelveen</AuthorityIdentifier>
<AuthorityAddress/>
</ManagingAuthority>
<kr:CreationDateTime>2017-03-16T04:07:00.867</kr:CreationDateTime>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/>
<Count>
<EventIdentifier/>
<Election>
<ElectionIdentifier Id="TK2017">
I have tried xml package but get the error "Error: XML content does not seem to be XML". Anyone ideas how to read this kind of file into R and parse the content?