摘要 |
A streaming parser API expands a base parser by building an iterative method on top of the base parser. The iterative method allows a user to pass a selected element type to the iterative method (200), which can locate an element tag in an XML document (202) and step through the XML document until a matching element is located (204). The base parser can then extract the element, process the element as an event, and place the event on an event stream for use by an application (206).
|