Method AttributeDecl
AttributeDecl(String, String, String, String, String)
Report an attribute type declaration.
Declaration
void AttributeDecl(string eName, string aName, string type, string mode, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | eName | The name of the associated element. |
System.String | aName | The name of the attribute. |
System.String | type | A string representing the attribute type. |
System.String | mode | A string representing the attribute defaulting mode ("#IMPLIED", "#REQUIRED", or "#FIXED") or null if none of these applies. |
System.String | value | A string representing the attribute's default value, or null if there is none. |
Remarks
Only the effective (first) declaration for an attribute will be reported.The type will be one of the strings "CDATA", "ID", "IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES", a parenthesized token group with the separator "|" and all whitespace removed, or the word "NOTATION" followed by a space followed by a parenthesized token group with all whitespace removed.
The value will be the value as reported to applications, appropriately normalized and with entity and character references expanded.
Exceptions
Type | Condition |
---|---|
SAXException | The application may raise an exception. |