| 1194 | |
| 1195 | |
| 1196 | XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const |
| 1197 | { |
| 1198 | if ( !doc ) { |
| 1199 | doc = _document; |
| 1200 | } |
| 1201 | XMLText* text = doc->NewText( Value() ); // fixme: this will always allocate memory. Intern? |
| 1202 | text->SetCData( this->CData() ); |
| 1203 | return text; |
| 1204 | } |
| 1205 | |
| 1206 | |
| 1207 | bool XMLText::ShallowEqual( const XMLNode* compare ) const |
no test coverage detected