1 | import org.w3c.dom.*; |
2 | import com.ibm.xml.parsers.DOMParser; |
3 | public class DOMAccess { |
4 | static final String parserClass = "com.ibm.xml.parsers.DOMParser"; |
5 | |
6 | public static void main (String args[]) throws Exception { |
7 | DOMParser parser = new DOMParser(); |
8 | Document document; |
9 | Element root; |
10 | NodeList publications; |
11 | Element publication; |
12 | Element author; |
13 | Element lastname; |
14 | Text nameString; |
15 | parser.parse(args[0]); |