Applies toTIcXMLDocument
DeclarationFunction TextCompare(SubString, S : TDOMString; CaseSensitive, WholeWords : boolean): Boolean;