VTK XML Formats
Appended Data Section
The appended data section is stored in an XML element just before the end of the file. It looks like this:
<AppendedData encoding="raw"> _...[DATA]... </AppendedData>
Note the literal underscore ('_') at the beginning of the data. This character separates whitespace to its left from the data to its right. Extra whitespace AFTER the data has no effect. The AppendedData section CDATA can be base-64 encoded to produce a fully valid XML file, but may also be left raw. In this document we assume the raw encoding because it is simpler.