Fix TRVSXMLDictionary's parsing of element text.

It wasn't clearing out the text parsed so far. In the context of
clang-format's replacements XML, extra whitespace would be added to the
replacements.
Fix up formatting after switching to TRVSXMLDictionary.

The keys in the dictionary are no longer prefixed with underscores.