| 1226 | |
| 1227 | |
| 1228 | XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const |
| 1229 | { |
| 1230 | if ( !doc ) { |
| 1231 | doc = _document; |
| 1232 | } |
| 1233 | XMLText* text = doc->NewText( Value() ); // fixme: this will always allocate memory. Intern? |
| 1234 | text->SetCData( this->CData() ); |
| 1235 | return text; |
| 1236 | } |
| 1237 | |
| 1238 | |
| 1239 | bool XMLText::ShallowEqual( const XMLNode* compare ) const |
no test coverage detected