Contents

predefinedEntityDeclaration(forName:)

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

Declaration

class func predefinedEntityDeclaration(forName name: String) -> XMLDTDNode?

Parameters

  • name:

    A string identifying a predefined entity declaration.

Return Value

An autoreleased XMLDTDNode 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