MCPcopy Create free account
hub / github.com/RetroShare/RetroShare / readXML

Method readXML

plugins/FeedReader/util/XMLWrapper.cpp:179–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179bool XMLWrapper::readXML(const char *xml)
180{
181 cleanup();
182
183 handleError(true, mLastErrorString);
184 mDocument = xmlReadDoc(BAD_CAST xml, "", NULL, /*XML_PARSE_NOERROR | XML_PARSE_NOWARNING | */XML_PARSE_COMPACT | XML_PARSE_NOCDATA);
185 handleError(false, mLastErrorString);
186
187 if (mDocument) {
188 return true;
189 }
190
191 return false;
192}
193
194bool XMLWrapper::getContent(xmlNodePtr node, std::string &content, bool trim)
195{

Callers 2

processMethod · 0.80
processXsltMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected