| 1250 | } |
| 1251 | |
| 1252 | XMLNode* XMLText::ShallowClone(XMLDocument* doc) const |
| 1253 | { |
| 1254 | if (!doc) |
| 1255 | { |
| 1256 | doc = _document; |
| 1257 | } |
| 1258 | XMLText* text = doc->NewText(Value()); // fixme: this will always allocate memory. Intern? |
| 1259 | text->SetCData(this->CData()); |
| 1260 | return text; |
| 1261 | } |
| 1262 | |
| 1263 | bool XMLText::ShallowEqual(const XMLNode* compare) const |
| 1264 | { |
no test coverage detected