Document Object Model example: periodic chart |
|
The Python language (see the Python language page for more information) has a quite extensive library of XML-related tools.
Here is an example of Python access to an XML file. The starting point is a file describing all the chemical elements in the periodic table. A Python script uses the standard library module xml.dom.minidom to read this file, and produces a printed report showing some of the elements' properties as a simple textual table.
|
John Shipman, john@nmt.edu
Last updated: 2002/04/27 22:08:17 UT URL: http://www.nmt.edu/tcc/help/xml/elements.html |
|