Hi, I’m working with xml .VTU files and I’d like to add a comment in the top line xml header that para-view won’t interpret or throw an error with and I’m unsure what specific text is safe here.
Something along the lines of:
<VTKFile type="UnstructuredGrid" version="1.0" comment="comment text" byte_order="LittleEndian" header_type="UInt32">
Where comment is arbitrary data that para-view doesn’t care about.
I know I can add extra data further down the file itself however this is for a CFD research flow solver and it works out easier to maintain my codebase keeping stuff on the first line of the file if I can.
For completeness of the question my exact file structure is as follows:
<VTKFile type="UnstructuredGrid" version="1.0" byte_order="LittleEndian" header_type="UInt32">
<UnstructuredGrid>
<Piece NumberOfPoints="" NumberOfCells="">
<Points>
<DataArray> [Coordinates] </DataArray>
</Points>
<Cells>
<DataArray> [MESHDATA] </DataArray>
</Cells>
<PointData>
<DataArray> [POINTDATA] </DataArray>
</PointData>
</Piece>
</UnstructuredGrid>
<AppendedData encoding="raw">_
[appended raw binary data]
</AppendedData>
</VTKFile>
(Yes I know raw binary is technically a violation of xml format but I’ve never worked with xmls prior to this project so the xml police can fight me for it.)