vtkXMLParser

Section: Visualization Toolkit IO Classes

Usage

vtkXMLParser reads a stream and parses XML element tags and corresponding attributes. Each element begin tag and its attributes are sent to the StartElement method. Each element end tag is sent to the EndElement method. Subclasses should replace these methods to actually use the tags. .SECTION ToDo: Add commands for parsing in Tcl.

To create an instance of class vtkXMLParser, simply invoke its constructor as follows

  obj = vtkXMLParser

Methods

The class vtkXMLParser has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkXMLParser class.