摘要 |
A system, method, and computer-accessible medium for facilitating parsing content from an XML document are provided. A parser and an agent processes XML events from an event-based XML reader in accordance with a parsing map. The parsing map defines XML elements of interest and custom parsing code. The agent comprises a communications channel through which it receives the parsing map, and further through which the agent returns the content of the defined XML elements. The agent further comprises a state machine that is automatically generated in accordance with the parsing map. The automatically generated state machine advantageously avoids the need for the user to construct their own state machine when parsing XML elements using an event-based XML reader.
|