| 1258 | |
| 1259 | |
| 1260 | XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const |
| 1261 | { |
| 1262 | if ( !doc ) { |
| 1263 | doc = _document; |
| 1264 | } |
| 1265 | XMLText* text = doc->NewText( Value() ); // fixme: this will always allocate memory. Intern? |
| 1266 | text->SetCData( this->CData() ); |
| 1267 | return text; |
| 1268 | } |
| 1269 | |
| 1270 | |
| 1271 | bool XMLText::ShallowEqual( const XMLNode* compare ) const |
no test coverage detected