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


import org.w3c.dom.*;
import com.ibm.xml.parsers.DOMParser;
public class DOMAccess {
static final String parserClass = "com.ibm.xml.parsers.DOMParser";
public static void main (String args[]) throws Exception {
DOMParser parser = new DOMParser();
Document document;
Element root;
NodeList publications;
Element publication;
Element author;
Element lastname;
Text nameString;
parser.parse(args[0]);



© 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