Type Method

predefinedEntityDeclarationForName:

Returns a DTD node representing the predefined entity declaration with the specified name.

Declaration

+ (NSXMLDTDNode *)predefinedEntityDeclarationForName:(NSString *)name;

Parameters

name

A string identifying a predefined entity declaration.

Return Value

An autoreleased NSXMLDTDNode object, or nil if there is no match for name.

Discussion

The five predefined entity references (or character references) are “<” (less-than sign), “>” (greater-than sign), “&” (ampersand), “"” (quotation mark), and “'” (apostrophe).

See Also

Getting DTD Nodes by Name

- elementDeclarationForName:

Returns the DTD node representing an element declaration for a specified element.

- attributeDeclarationForName:elementName:

Returns the DTD node representing an attribute-list declaration for a given attribute and its element.

- entityDeclarationForName:

Returns the DTD node representing the entity declaration for a specified entity.

- notationDeclarationForName:

Returns the DTD node representing the notation declaration identified by the specified notation name.