Basic HTML version of Foils prepared August 1 99

Foil 36 Browsing Document with DOM Parser

From Advanced XML and its applications CPS714 Computational Science Information Track -- July 7 99. by Lukasz Beca


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]);

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Aug 1 1999