reading xml chunks

How to read an xml document in chunks?.The xml has multiple bodies

Review the pub.xml.nodeXMLNodeIterator service documentation for information.