MJS> If you look at how the SAX parser works, it takes the "document" MJS> and steps through it like an array.
Oh, I know how SAX works, but I'd be curious how the speed of even the fastest SAX engines compare to a precompiled regular expression. It's a vain discussion though, of course I admit SAX is both nicer and less error prone than a regular expression way. I just mentioned the regexp to satisfy people's natural curiosity on HOW THINGS CAN BE DONE. You know what I mean? :) Dawid
