| 1169 | |
| 1170 | |
| 1171 | XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const |
| 1172 | { |
| 1173 | if ( !doc ) { |
| 1174 | doc = _document; |
| 1175 | } |
| 1176 | XMLText* text = doc->NewText( Value() ); // fixme: this will always allocate memory. Intern? |
| 1177 | text->SetCData( this->CData() ); |
| 1178 | return text; |
| 1179 | } |
| 1180 | |
| 1181 | |
| 1182 | bool XMLText::ShallowEqual( const XMLNode* compare ) const |
no test coverage detected