There are generic APIs included in the J2EE API
These APIs (javax.xml.transform) are used to process:
-- transformation instructions, and
-- performing a transformation from source to a result (included in the J2EE API).
javax.xml.transform is used to
define XSLT transformation information required to transform XML into
other forms like HTML, WML, XML.
|javax.xml.transform||Defines the TransformerFactory and Transformer classes. These classes are used to get a object for doing transformations. After creating a transformer object, its transform() method is invoked. This method provides an input (source) and output (result).|
|javax.xml.transform.dom||Defines classes used to create input and output objects from a DOM.|
|javax.xml.transform.sax||Defines classes used to create input from a SAX parser and output objects from a SAX event handler.|
|javax.xml.transform.stream||Defines classes used to create input and output objects from an I/O stream.|
To know more about this, just click:
Recommend the tutorial