27 SStringW strClsName = xmlChild.name();
30 strClsName = xmlChild.attribute(L
"name").value();
33 xmlChild.remove_attribute(L
"name");
35 SASSERT(!xmlChild.attribute(L
"name"));
49 SStringW strTempName = xmlChild.name();
bool GetKeyObject(const SStringW &key, SXmlNode &obj) const
bool AddKeyObject(const SStringW &key, const SXmlNode &obj)
bool HasKey(const SStringW &key) const
A class representing an ASCII string.
int CompareNoCase(const wchar_t *psz) SCONST
Compares the string with another string, ignoring case.
BOOL IsEmpty() SCONST
Checks if the string is empty.
SXmlNode GetStyle(const SStringW &strName)
Retrieves a style XML node by name.
BOOL Init(SXmlNode xmlNode)
Initializes the style pool from an XML node.
BOOL Init(SXmlNode xmlNode)
Initializes the template pool from an XML node.
SStringW GetTemplateString(const SStringW &strName) const
Retrieves a template string by name.
Class representing an XML node.
SXmlNode next_sibling() const
Gets the next sibling node in the children list of the parent node.
SXmlNode first_child() const
Gets the first child node of the node.
SXmlAttr append_copy(const SXmlAttr &proto)
Adds a copy of the specified attribute.
void ToString(IStringW *out) SCONST OVERRIDE
Converts the node to a string representation.
SXmlNode root() const
Gets the root node of the DOM tree this node belongs to.