I’m glad you managed to streamline the XML reader for your usage to remove as much overhead as you could.
If what you are trying to do client side is becoming too limiting, you might be interested at looking at trame to allow either server side processing and/or rendering.