Where are Parser Classes?

Hello,

I hate to be new, but I am. I am running jdk1.3.1 and I working out of the xml tutorial. I have a simple java class that is including the following classes:

import javax.xml.parsers.DocumentBuilder;

import javax.xml.parsers.DocumentBuilderFactory;

import javax.xml.parsers.FactoryConfigurationError;

import javax.xml.parsers.ParserConfigurationException;

import org.xml.sax.SAXException;

import org.xml.sax.SAXParseException;

import org.w3c.dom.Document;

import org.w3c.dom.DOMException;

// For write operation

import javax.xml.transform.Transformer;

import javax.xml.transform.TransformerException;

import javax.xml.transform.TransformerFactory;

import javax.xml.transform.TransformerConfigurationException;

import javax.xml.transform.dom.DOMSource;

import javax.xml.transform.stream.StreamResult;

When I try and compile this class (classpaths are all good) my system says it cannot resolve symbol for class Transformer, TransformerException, TransformerFactory, etc.

I don't know where to find these classes? Don't they come with the standard j2se? If not where do I go for them?

Thanks

[1225 byte] By [scottpurcella] at [2007-9-19]
# 1

Those classes are part of the api JAXP. You can download the sun implementation here : http://java.sun.com/xml/downloads/javaxmlpack.html or Apache's one with Xerces (http://xml.apache.org).

They are also included with the j2se but the 1.4 version : http://java.sun.com/j2se/1.4/docs/api/index.html

Regards

mbouvata at 2007-7-8 > top of java,Enterprise & Remote Computing,Enterprise Technologies...