Package edu.pdx.cs410J.xml
package edu.pdx.cs410J.xml
This package contains classes and programs that demonstrate Java's APIs for working with XML, the Extensible Markup Language. As of JDK 1.4, Java comes with a standard API for parsing, modeling, and transforming XML.
Some XML resources
- JAXP: Java APIs for XML Parsing
- Sun's XML Tutorial
- XML in J2SE 1.4
- The World Wide Web Consortium
- Apache's Xerces home page
-
ClassDescriptionThis program builds a DOM tree that represents a phone book and writes it to a file.This class represents a business whose name, address and phone number are listed in a phone book.This class represents a phone book that contains entries for businesses and residents.This class represents an entry in a phone book.This program demonstrates the SAX parsing API by parsing a phonebook XML document and printing out the phone numbers in it.This class represents a resident (person) whose first and last name, as well as whose middle initial, is listing in a phone book.This program parses and XML file and validates it for correctness against its DTD.