XML Parsing and Transformations

To be useful to an application, XML documents are generally converted into another format through either parsing or transformation. Transformation is effectively the parsing and conversion of a document combined into one process. The result of a transformation is the output of a document in a different format.

Parsing involves the disassembling of a target document into useful elements. Parsing is a common practice in computer processing. A common example is that of parsing a computer program during the compilation process—one of the first steps taken when a computer program is compiled. This involves applying a grammar, a set of rules for the structure of the program. Failure to follow the rules of the grammar ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.