If I knew how to phrase this I could probably find the answer on Google. I need an XML parser which I can call out to other XML parsers with.
For example:
<car><driver><name /><age /><height /></driver><make><name /><nationality /><age /></make><engine><horsepower /><displacement /><mileage /></engine></car>
I need parser which will start parsing Car, get to Driver and give ALL of Driver to a separate parser class, then continue on with make, etc.
If you think of it as a state machine, I need a parser where some states can be different classes.