VTK files can have "raw binary data" in the AppendedData section. This means the file may not be technically valid XML. The data can also have null characters which requires care when parsing using C-style strings.
zlib licensed, repo at https://github.com/leethomason/tinyxml2