- Used to process large documents
- Based on C# xmlReader
interface
- Simpler to program: iterator over the document nodes
- Allows validation
import libxml2
reader = libxml2.newTextReaderFilename("ex.xml")
ret = reader.Read()
while ret == 1:
print reader.Name()
ret = reader.Read()