ETXMLNode class documentation
ETXMLNode : NSObject <ETXMLParserDelegate>Overview
The ETXMLNode class represents a single XML element, which may contain character data or other nodes. It can be used with the parser directly to create an object structure representing the XML hierarchy. More commonly, it is used to generate the tree directly and then output XML.
This class almost certainly uses some non-standard terminology relating to XML, which should probably be fixed at some point. Eventually, this class should probably be retired. Currently, most of the XMPP code only uses the +ETXMLNodeWithType , +ETXMLNodeWithType:attributes: , -addChild:, -addCData: and -stringValue: methods. All others should be considered deprecated.
Note: ETXMLNode objects are always mutable, and should be treated as such.
Default
- + (id) ETXMLNodeWithType: (NSString *)type
Create a new instance of the class with the specified type. [ETXMLNode ETXMLNodeWithType:@"foo"] give an object representing the XML string "<foo />"
- + (id) ETXMLNodeWithType: (NSString *)type attributes: (NSDictionary *)_attributes
Create a new instance of the class with the specified type and attributes.