Instance Method インスタンスメソッド

attribute(forLocalName:uri:)

Returns the attribute node of the receiver that is identified by a local name and URI. あるローカル名とURIによって識別されるレシーバの属性ノードを返します。

Declaration 宣言

func attribute(forLocalName localName: String, 
           uri URI: String?) -> XMLNode?

Parameters パラメータ

localName

A string specifying the local name of an attribute. 属性のローカル名を指定している文字列。

URI

A sting identifying the URI associated with an attribute. 属性と結びつけられたURIを識別している文字列。

Return Value 戻り値

An XML node object representing a matching attribute or nil if no such node was found. あるXMLノードオブジェクト、合致する属性を表しています、またはnil、もしそのようなノードが見つけられなかったならば。

See Also 参照

Handling Attributes 属性を取り扱う