# NSXMLDTDNode class documentation

rfm@gnu.org
Generated at 2025-09-10 09:16:48 +0000
2008 Free Software Foundation, Inc.
Software documentation for the NSXMLDTDNode class
Foundation/NSXMLDTDNode.h
Represents the nodes whose types are present only in DTDs.
Object values for the different nodes are:
Entity declaration
The string that that entity resolves to eg "<"
Attribute declaration
The default value, if any
Element declaration
The validation string
Notation declaration
`nil`
DTDKind
Returns what kind of DTD node this is.
initWithXMLString:
string
Initialises the receiver based on the contents of the supplied XML.
isExternal
Returns `YES` if the system id is set, `NO` otherwise.
Is valid only for entities and notations.
notationName
Returns the notation name.
publicID
Returns the public id.
setDTDKind:
nodeKind
Sets what kind of DTD node this is.
setNotationName:
notationName
Sets the notation name if the receiver is an entity.
setPublicID:
publicID
Sets the public id of this node.
This identifier should be in the default catalog or in a location given by the XML_CATALOG_FILES environment variable.
When the public id is set the system id must also be set.
This is valid only for entities and notations.
setSystemID:
systemID
Sets the system ID... a URL referring to the DTD document.
systemID
Returns the system ID.