Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
The following are some of the limitations of SAX.
No random access to the document
Because the document is not in memory, you must handle data in the order in which it is processed. As a result, SAX can be difficult to use when the document contains many internal cross-references, such as ID and IDREF attributes.
Difficult to implement complex searches
It is your responsibility to maintain data structures holding context information that you must retain, such as the attributes of the current element's ancestor.
No SAX implementation in current browsers
SAX support is not built into Microsoft® Internet Explorer.