18Copyright © 2000-2001 Profile Consulting Inc.18
DOM Example: Chemistry

Given the periodic table in XML, determine the weight of a molecule.

Example: periodic.xml

Example: MolecularWeight.java

What is the molecular weight of carbon monoxide?