[vtkusers] reading your own XML format

Joeri Nicolaes joeri_vtk at hotmail.com
Fri Aug 27 03:31:33 EDT 2004


Hi all,

I have written on XML file with my own specific tags. I would like to read in this XML file, parse it and work with its data. How can I do this using Tcl? 
My current idea is to define a vtkXMLDataElement object for each specific tag and then use vtkXMLReader to parse given the predefined tags. But in vtkXMLReader I only find a method ReadPrimaryElement (vtkXMLDataElement) where you can specify the tag to read in. But I am stuck there...
Can anyone give me tips or perhaps some example code (in Tcl if possible)?

Thx,
 

Joeri,
Agfa Gevaert, R&D/TI
+ 32 (0) 3 444 6429,
stajn at agfa.com
joeri_vtk at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040827/88c4d3d7/attachment.htm>


More information about the vtkusers mailing list