1 Introduction to XML Processing
1) Parsing
a. Involves scanning the document in the following ways:-i. Push approach (Example for push parsers:- SAX )
ii. Pull approach (Example for pull parsers:- STaX)
2) Binding
a. Involves the following steps
i. Binds XML to Java objects (Generating java classes from XML Schema),
ii. Marshalling and Unmarshalling (Unmarshalling means creating a tree of content [java] objects from the XML document [not schema]. Marshalling means creating the XML document from the java objects. Both uses parsing techniques)
3) Transformation
a. Transformation engine and filter
- Castor (open source)
- JAXB (open source)
- JiBX (open source)
- XML Spy (commercial)
- Jakarta Digester (open source)
1 comments:
VTD-XML is another popular XML parsing model that you might want to investigate
http://java.dzone.com/articles/introduction-vtd-xml
Post a Comment