# XML VTK file format to include data labels? ...then how to plot in ParaView?

**URL:** https://discourse.paraview.org/t/xml-vtk-file-format-to-include-data-labels-then-how-to-plot-in-paraview/9366
**Category:** ParaView Support
**Tags:** vtk
**Created:** [April 5, 2022, 10:17pm UTC](https://discourse.paraview.org/t/xml-vtk-file-format-to-include-data-labels-then-how-to-plot-in-paraview/9366 "2022-04-05T22:17:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [April 8, 2022, 10:17am UTC](https://discourse.paraview.org/t/xml-vtk-file-format-to-include-data-labels-then-how-to-plot-in-paraview/9366/2 "2022-04-08T10:17:10Z")

</div>

It seems that string data must be written in ASCII code. Thus, the following modification allows it to be read.

```xml
        <DataArray type="String" Name="pointNames" NumberOfComponents="1" format="ascii">
			112 111 105 110 116 78 97 109 101 48 49 0
			112 111 105 110 116 78 97 109 101 48 50 0
			112 111 105 110 116 78 97 109 101 48 51 0
        </DataArray>

```

---

_[View the full topic](https://discourse.paraview.org/t/xml-vtk-file-format-to-include-data-labels-then-how-to-plot-in-paraview/9366)._
