Trying to read XML in the following format with “:” is throwing Can't parse XML element names containing colon ':' error.
<sh:root>
<sh:book> </sh:book>
<sh:genre> </sh:genre>
<sh:id> </sh:id>
<sh:book> </sh:book>
<sh:genre> </sh:genre>
<sh:id> </sh:id>
<sh:book> </sh:book>
<sh:genre> </sh:genre>
<sh:id> </sh:id>
</sh:root>
What’s the best way to read such XML? (Note that changing “:” to “_” in the XML works.)