NSXMLDTDNode object initialized with the DTD declaration in a given string.
- macOS 10.4+
The DTD declaration.
NSXMLDTDNode object initialized with the DTD declaration in
nil if initialization did not succeed, as might occur if the passed-in declaration is malformed.
The node kind (NSXMLNode) assigned to the returned object—element, attribute, entity, or notation declaration— is based on the full XML string that is parsed. To assign a subkind, use the
You may also use the
init methods to create
NSXMLDTDNode instances. However, you cannot use the latter method to create
NSXMLDTDNode instances for attribute-list declarations.