NSXMLParser stop parsing and return entire NSXMLNode as string

64 Views Asked by At

How would I go about telling NSXMLParser to stop parsing a particular node, and just return all the inner content as a string?

for example:

<doc>
<hello><yes>no</yes><hello>
</doc>

i want to return <yes>no</yes> as a string, rather than drill down further

0

There are 0 best solutions below