Lines Matching refs:root
70 XMLNode* root = NodeHandler::ParseFile("testdata/xml.xml", XMLNode::EXACT);
71 if (root == NULL) {
74 string result = root->ToString(NO_NAMESPACES);
75 delete root;
83 XMLNode* root = NodeHandler::ParseFile("testdata/xml.xml", XMLNode::PRETTY);
84 if (root == NULL) {
87 string result = root->ToString(NO_NAMESPACES);
88 delete root;
97 XMLNode* root = NodeHandler::ParseString("testdata/xml.xml", text, XMLNode::EXACT);
98 if (root == NULL) {
101 string result = root->ToString(NO_NAMESPACES);
102 delete root;
111 XMLNode* root = NodeHandler::ParseString("testdata/xml.xml", text, XMLNode::PRETTY);
112 if (root == NULL) {
115 string result = root->ToString(NO_NAMESPACES);
116 delete root;