# NSXMLDTD class documentation

rfm@gnu.org
Generated at 2025-09-10 09:16:48 +0000
2008 Free Software Foundation, Inc.
Software documentation for the NSXMLDTD class
Foundation/NSXMLDTD.h
Encapsulates document type definition data.
predefinedEntityDeclarationForName:
name
Returns the predefined entity declaration matching named.
addChild:
child
Adds a child after the existing children.
attributeDeclarationForName:
name
elementName:
elementName
Returns the attribute declaration named.
elementDeclarationForName:
name
Returns the element declaration named.
entityDeclarationForName:
name
Returns the entity declaration named.
initWithContentsOfURL:
url
options:
mask
error:
error
Load data from URL and initialise the receiver with the contents.
initWithData:
data
options:
mask
error:
error
Description forthcoming.
insertChild:
child
atIndex:
index
Inserts a child node at the specified index in the document.
insertChildren:
children
atIndex:
index
Inserts a number of child nodes at the specified index.
notationDeclarationForName:
name
Returns the notation declaration named.
publicID
Returns the public ID set for the document.
removeChildAtIndex:
index
Remove the indexed child node.
replaceChildAtIndex:
index
withNode:
theNode
Replaces the child at index with another child.
setChildren:
children
Replaces all existing children with the child nodes in the array.
setPublicID:
publicID
Sets the public id of this document.
This identifier should be in the default catalog or in a location given by the XML_CATALOG_FILES environment variable.
You should also set the systemID when you set this.
setSystemID:
systemID
Sets the system ID... a URL referring to the DTD document.
systemID
Returns the system ID