I have code that will generate an XML file and from there I generate a PDF file. The problem that I am having is that I am creating the XML files for supplier names and yes, the supplier name may be listed as ‘John Gray & Sons’.
How can I get the name of John Gray & Sons into the xml file and than having it appear correctly in the PDF as ‘John Gray & Sons’.
I thought that I could have a hidden field on the form that would check if the supplier name contained the ‘&’ and change that to ‘&’ so the name of ‘John Gray & Sons’ would than read as ‘John Gray & Sons’, but that didn’t work for me.
Anyones thoughts on how to handle this?
Thanks,
Jean