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