I search a way to write or convert all non permitted XML char and write a standard XML file (not pList).
Any idea about some Cocoa command that execute the chars transformations?
I search Cocoa because with AS this can be probably more slower.
The input text is UTF text get from InDesign box.
You probably want CFXMLCreateStringByEscapingEntities() and CFXMLCreateStringByUnescapingEntities(), but I think you’ll have to use Objective-C – they’re functions I don’t think you can use form ASObjC.