Search code examples
iosobjective-cgdataxml

GDataXML stringValue vs. XMLString


See title. What's the difference between the return value of GDataElement instance methods:

-(NSString *) XMLString;

and

-(NSString *) stringValue;

Solution

  • XMLString returns the raw string representation of the node, and stringValue returns the value inside the tag, such as

    <tag>this is string value</tag>.