| 1204 | |
| 1205 | |
| 1206 | XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const |
| 1207 | { |
| 1208 | if ( !doc ) { |
| 1209 | doc = _document; |
| 1210 | } |
| 1211 | XMLText* text = doc->NewText( Value() ); // fixme: this will always allocate memory. Intern? |
| 1212 | text->SetCData( this->CData() ); |
| 1213 | return text; |
| 1214 | } |
| 1215 | |
| 1216 | |
| 1217 | bool XMLText::ShallowEqual( const XMLNode* compare ) const |
no test coverage detected