> when i compile this code, i'll get the following error: > EchoXML.java:18: Class org.w3c.dom.Document not found in void > main(java.lang.String[]). > Document doc = dom.build (new File ("web.xml")); > 1 error Your classpath doesn't have the DOM classes in it. Assuming you're using Xerces, add xerces.jar to your classpath. -jh-