parser(_:foundElementDeclarationWithName:model:)
Sent by a parser object to its delegate when it encounters a declaration of an element with a given model.
Declaration
optional func parser(_ parser: XMLParser, foundElementDeclarationWithName elementName: String, model: String)Parameters
- parser:
An
NSXMLParserobject parsing XML. - elementName:
A string that is the name of an element.
- model:
A string that specifies a model for
elementName.
See Also
Related Documentation
Handling the DTD
parser(_:foundAttributeDeclarationWithName:forElement:type:defaultValue:)parser(_:foundExternalEntityDeclarationWithName:publicID:systemID:)parser(_:foundInternalEntityDeclarationWithName:value:)parser(_:foundUnparsedEntityDeclarationWithName:publicID:systemID:notationName:)parser(_:foundNotationDeclarationWithName:publicID:systemID:)