I have some data in XML files and I'm getting a "Error: 1: xmlParseEntityRef: no name
". I've narrowed it down to some XML files having "&" or "<" or ">" in the data. For example, there is one where the xml is:
...<instruc>count the number of words & letters</instruc>...
...<instruc>if the number of letters per word > 6</instruc>...
I've been using the XML package and xmlParse
. Is there any way I can read in this file and treat the 'bad' characters as just text?
Thanks!