| 1159 | |
| 1160 | |
| 1161 | XMLNode* XMLText::ShallowClone(XMLDocument* doc) const |
| 1162 | { |
| 1163 | if (!doc) { |
| 1164 | doc = _document; |
| 1165 | } |
| 1166 | XMLText* text = doc->NewText(Value()); // fixme: this will always allocate memory. Intern? |
| 1167 | text->SetCData(this->CData()); |
| 1168 | return text; |
| 1169 | } |
| 1170 | |
| 1171 | |
| 1172 | bool XMLText::ShallowEqual(const XMLNode* compare) const |
no test coverage detected