Table 5-1 XML Parser API Feature Summary
| Feature | StAX | SAX | DOM | TrAX |
|---|---|---|---|---|
| API Type | Pull, streaming | Push, streaming | In memory tree | XSLT Rule |
| Ease of Use | High | Medium | High | Medium |
| XPath Capability | No | No | Yes | Yes |
| CPU and Memory Efficiency | Good | Good | Varies | Varies |
| Forward Only | Yes | Yes | No | No |
| Read XML | Yes | Yes | Yes | Yes |
| Write XML | Yes | No | Yes | Yes |
| Create, Read, Update, Delete Cheers Kapil |
No | No | Yes | No |
No comments:
Post a Comment