Type Method 型メソッド

processingInstructionWithName:stringValue:

Returns an NSXMLNode object representing a processing instruction with a specified name and value. NSXMLNodeオブジェクトを返します、指定された名前と値を持つ処理命令を表しています。

Declaration 宣言

+ (id)processingInstructionWithName:(NSString *)name 
                        stringValue:(NSString *)stringValue;

Parameters パラメータ

name

A string that is the name of the processing instruction. ある文字列、それは処理命令の名前です。

value

A string that is the value of the processing instruction. ある文字列、それは処理命令の値です。

Return Value 戻り値

An NSXMLNode object of kind NSXMLProcessingInstructionKind or nil if the object couldn't be created.

Discussion 議論

The equivalent XML markup is name value?>. 同等のXMLマークアップは、name value?>です。

See Also 参照

Creating and Initializing Node Objects ノードオブジェクトの作成と初期化