head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2001.04.30.18.00.44; author linus; state Exp; branches; next ; desc @works @ 1.1 log @Initial revision @ text @import java.io.File; import java.io.IOException; import java.io.PrintStream; import java.io.FileInputStream; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.FactoryConfigurationError; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.DocumentBuilder; import org.xml.sax.SAXException; import org.xml.sax.SAXParseException; import org.w3c.dom.Document; import org.w3c.dom.DOMException; import msglog; /** * simple read a xml doc in and print each node recursively */ public class pd { void recurseNodes( org.w3c.dom.NodeList nodes ) throws IOException { for (int i=0; i