FileDocCategorySizeDatePackage
XTWalker.javaAPI DocExample821Sat Mar 13 17:05:26 GMT 2004None

XTWalker

public class XTWalker extends XTW
Subclass XML Tree Walker to use the Crimson-provided TreeWalker STATUS -- UNKNOWN.
version
$Id: XTWalker.java,v 1.8 2004/03/13 23:05:25 ian Exp $

Fields Summary
Constructors Summary
Methods Summary
protected voiddoRecursive(org.w3c.dom.Node p)


		// NOTE -- YOU HAVE TO WRITE YOUR OWN TREEWALKER CLASS.
		// OTHERWISE JUST USE XTW AS IT IS, NOT THIS SUBCLASS.

		TreeWalker tw = new TreeWalker(p);
		Node n;
		while ((n = (Node)tw.getNext()) != null) {

			doNode(n);

		}
	
public static voidmain(java.lang.String[] av)

		if (av.length == 0) {
			System.err.println("Usage: XTWalker file [...]");
			return;
		}
		for (int i=0; i<av.length; i++) {
			String name = av[i];
			new XTWalker().convert(name, true);
		}