Method ElementDecl
ElementDecl(String, String)
Report an element type declaration.
Declaration
void ElementDecl(string name, string model)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The element type name. |
System.String | model | The content model as a normalized string. |
Remarks
The content model will consist of the string "EMPTY", the string "ANY", or a parenthesised group, optionally followed by an occurrence indicator.The model will be normalized so that all parameter entities are fully resolved and all whitespace is removed,and will include the enclosing parentheses.Other normalization (such as removing redundant parentheses or simplifying occurrence indicators) is at the discretion of the parser.
Exceptions
Type | Condition |
---|---|
SAXException | The application may raise an exception. |