Writing xml vtu files using fortran

I am quite new to both Fortran language and VTK file format.So I have ASCII data(small part of data attached below) and want to write a vtu file for the data. Can someone provide possible guidance or solutions on how to write a fortran code for writing a vtu file

The data is in the following format :

ID | X | Y | Z | R

21477 | 23.763711578028648 | 1.324896330297889 | 21.452167569999407 | 0.001959468036875
70238 | 8.403958483074112 | 0.437044637286058 | 21.481164606145526 |0.001951512016072
79911 | 11.506013421238931 | 1.291251006542412 | 20.877113165929117 | 0.002005336477837
81901 | 6.294721557154659 | 0.591650043829494 | 20.860785905037456 | 0.001979070696389

you can use VTK fortran wrapping.