Links

  • 1. Sogeti
  • 2. JBoss
  • 3. IBM
  • 4. Oracle
  • 5. SpringSource
  • 6. NL-JUG
  • 7. Java

Archives

Syndication  RSS 2.0

RSS 1.0
RSS 2.0

Bookmark this site

Add 'JCN Blog' site to delicious  Add 'JCN Blog' site to technorati  Add 'JCN Blog' site to digg  Add 'JCN Blog' site to dzone

Posted by Eric Gunnewegh at 8:25 on Tuesday 25 July    Add 'Introduction to StAX' site to delicious  Add 'Introduction to StAX' site to technorati  Add 'Introduction to StAX' site to digg  Add 'Introduction to StAX' site to dzone

Processing XML documents has become a critical and integral part of most applications being developed today. Depending on different environments, there are various ways to process an XML document within a program. All these can be broadly categorized into two approaches:

1) Tree-based APIs: DOM (Document Object Model) implementations use this technique.

2) Event-based APIs: When this type of a parser is given some XML to process, it sends out events corresponding to the information items it finds.

JSR-173 offers the Streaming API for XML, StAX, which allows the client much more control and a more sensible approach to XML parsing.


© 2020 Java Competence Network. All Rights Reserved.