The element handler is called when an element declaration is found. The Elname parameter is the name of the element with which the attribute is being associated. The Attname parameter is the name of the attribute. Type is the attribute type, given as a string. If Fixed is true, then this is a fixed attribute.
Name is the document type name.
Internal will be true or false, indicating whether or not the doctype declaration contains an internal subset. This handler is called for XML declarations. Version is a string containg the version. Encoding is either undefined or contains an encoding string. Standalone is either undefined, or true or false.