parseTestStream.rb
Path: examples/parseTestStream.rb
Created: Sun Feb 10 14:42:29 EST 2002
Modified: Sun Feb 10 14:42:29 EST 2002

Copyright (c) 2001-2002 by Jim Menard <jimm@io.com>

Released under the same license as Ruby. See www.ruby-lang.org/en/LICENSE.txt.

usage: parseTestStream.rb file_or_directory

This script runs the streaming parser over the specified file, or all .xml files within the specified directory.

If an NQXML::ParserError is seen, an error message is printed and parsing continues with the next file.

Required files
nqxml/streamingparser   
Methods
testParser   
Public Instance methods
testParser(file)