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