Type Method

localName(forName:)

Returns the local name from the specified qualified name.

Declaration

class func localName(forName name: String) -> String

Parameters

qName

A string that is a qualified name.

Discussion

For example, if the qualified name is “bst:title”, this method returns “title”.

See Also

Managing Namespaces

var localName: String?

Returns the local name of the receiver.

var prefix: String?

Returns the prefix of the receiver’s name.

class func prefix(forName: String) -> String?

Returns the prefix from the specified qualified name.