http://www.devshed.com/Server_Side/Perl/PerlXML/PerlXML1/
By icarus 2002-01-15
Here's a quick list of the types of events that the parser can handle, together with a list of their key names (as expected by the setHandlers() method) and a list of the arguments that the corresponding callback function will receive.
| Key | Arguments | Event |
|---|---|---|
| to callback | ||
| Final | parser handle | Document parsing completed |
| Start | parser handle, | Start tag found |
| element name, | ||
| attributes | ||
| End | parser handle, | End tag found |
| element name | ||
| Char | parser handle, | CDATA found |
| CDATA | ||
| Proc | parser handle, | PI found |
| PI target, | ||
| PI data | ||
| Comment | parser handle, | Comment found |
| comment | ||
| Unparsed | parser handle, entity, | Unparsed entity found |
| base, system ID, public | ||
| ID, notation | ||
| Notation | parser handle, notation, | Notation found |
| base, system ID, public | ||
| ID | ||
| XMLDecl | parser handle, | XML declaration found |
| version, encoding, | ||
| standalone | ||
| ExternEnt | parser handle, base, | External entity found |
| system ID, public ID | ||
| Default | parser handle, data | Default handler |