The TRXMLNode 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
+TRXMLNodeWithType
,
+TRXMLNodeWithType:attributes:
,
-addChild:
,
-addCData:
and
-stringValue:
methods. All others should be considered deprecated.
Note: TRXMLNode objects are always mutable, and should
be treated as such.