This fails when I use LoadXML into an XMLDocument. But if I remove that one ampersand in third fld, it works fine. Are there any other characters that are not valid in values?
Thank you everyone! It’s coming from a FileMaker database as tab delimited data that I “converted” to xml. It looks like I need to deal with the following based on Michel’s wikipedia link.
"
&
'
<
I’m really surprised that it doesn’t just respect anything within the tags.
Can I just wrap everything within the tags with CDATA?
I wish. I’m building an SQL statement in Xojo and sending that over to FileMaker which then returns the data, but it’s basically tab delimited text.
I decided to embrace the format right than fight it by using NthField. I just got everything working and it’s perfect. I thought it’d be better to use XMLDocument, but that required massaging the data. Using NthField resulted in no massaging.