[SoapRMI] XB1 XPath

Andy Harrison andyh_at_agaricus.co.uk
Wed, 06 Apr 2005 10:11:30 +0100


Aleksander Slominski wrote:

 > Andy,
 >
 > when i am back from travel i will check this in details but in 
general > you should use builder.newDocument() (XmlInfosetBuilder)
 > then if you want process a fragment you can use XmlPullParser -
 > position it on STAR_TAG for fragment and call builder.parseFragment()
 > then you should be able to run XPath on this fragment, when you are
 > finished with this chunk XML move to next.

That sounds like exactly what I should be doing!

 > i believe that should allow you to get through very large XML
 > documents by processing it in chunks and be able to do XPath on each
 > chunk.
 >
 > is it what you want to do?
 >

Ultimately, yes. Thanks, I'll let you know how I get on!

Andy