<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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? </FONT></DIV>
<DIV><FONT face=Arial size=2>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...</FONT></DIV>
<DIV><FONT face=Arial size=2>Can anyone give me tips or perhaps some example
code (in Tcl if possible)?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thx,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><BR>Joeri,<BR>Agfa Gevaert, R&D/TI<BR>+ 32 (0)
3 444 6429,<BR><A href="mailto:stajn@agfa.com">stajn@agfa.com</A><BR><A
href="mailto:joeri_vtk@hotmail.com">joeri_vtk@hotmail.com</A></FONT></DIV></BODY></HTML>