tags:

views:

220

answers:

2

I want to convert:

<?xml version="1.0"?>
  <Company>
    <CompanyId>5</CompanyId>
    <Name>Acme Inc.</Name>
  </Company>

To:

<?xml version="1.0"?>
  <Company>
    <CompanyId>5</CompanyId>
    <Name>Acme Inc.</Name>
  </Company>

on a iPhone. But I can't find any standard functions available on the iPhone, nor could I find any mature (open source) libraries.

+1  A: 

Will CFXMLCreateStringByUnescapingEntities work for you?

Hank Gay
Partly, since this requires some manual coding of the character equivalents.
Gabriël
A: 

CFXMLCreateStringByUnescapingEntities works OK on the simulator but not on the device.