Thank you for the reply zechariahs.
Your's is an excellent reply.
To be completely accurate to what I wanted, one would have to implement a TreeWalker - something to traverse the nodes of the DOM, calling a handler, similiar to the one you wrote.
It so happens that since my development is targeting 4.2 devices (older devices like 8820), some of the XML packages in 4.7 aren't available to me.
As a result, I just finished implementing my own DOM, TreeWalker, Renderer and several other XML related components. Everything finally builds. Tomorrow I'll start testing and debugging.
|