VTK XML Formats

From KitwarePublic
Revision as of 08:49, 11 June 2008 by Brad.king (talk | contribs) (New page: =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"> _<i>...[DATA]...</...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.