Check the Node kind in an XML Tree

Posted by Lenin Lourembam on Stack Overflow See other posts from Stack Overflow or by Lenin Lourembam
Published on 2010-03-08T10:19:57Z Indexed on 2010/03/12 6:37 UTC
Read the original article Hit count: 194

Filed under:
|
|

I have constructed an XML tree from an XML file. While constructing I do initWithKnd: or initWithKind: options: method.

How can I check if a node is of Element or CDATA or ay other kind while tracing the XML tree.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about objective-c