
TransformerFactory |
|
|
| |
| creates |
|
|
|
|
| Templates |
|
|
|
| (stylesheet) |
|
|
| input | invokes |
|
|
|
| Transformation | output |
|
| Source |
| Result |
|
|
|
|
| |
| source specification |
| result specification | DOM |
SAX |
| SAX | ||
Stream |
| Result | ||
Source |
| Result |
| |
| Source |
|
|
|
|
|
| Stream |
|
| DOM |
| Result |
|
|
|
|
| |
| Source |
|
|
|
Figure 3-2 javax.xml.transforms interfaces operation
3.3 SAX2
SAX is the Simple API for XML, originally a
58 The XML Files: Development of XML/XSL Applications Using WebSphere Studio