Returns an NSXMLNode instance initialized with the constant indicating node kind.
Original signature is '- (id)initWithKind:(NSXMLNodeKind)kind'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public NSXMLDocument( NSXMLNodeKind kind )
Public Sub New ( _ kind As NSXMLNodeKind _ )
public: NSXMLDocument( NSXMLNodeKind kind )

- kind (NSXMLNodeKind)
- An enum constant of type Node Kind Constants that indicates the type of node. See “Constants” for a list of valid NSXMLNodeKind constants.

An NSXMLNode object initialized with kind or nil if the object couldn't be created. If kind is not a valid NSXMLNodeKind constant, the method returns an NSXMLNode object of kind NSXMLInvalidKind.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)