Using Offset/length approach, one usually loads entire doc in memory undecoded, and doesn't use byte stream to access the document.
Hope using offset/length can complement DOM/SAX in some situations.
Sponsored By: