| 902 | |
| 903 | |
| 904 | XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const |
| 905 | { |
| 906 | if ( !doc ) { |
| 907 | doc = _document; |
| 908 | } |
| 909 | XMLText* text = doc->NewText( Value() ); // fixme: this will always allocate memory. Intern? |
| 910 | text->SetCData( this->CData() ); |
| 911 | return text; |
| 912 | } |
| 913 | |
| 914 | |
| 915 | bool XMLText::ShallowEqual( const XMLNode* compare ) const |
nothing calls this directly
no test coverage detected