1件ヒット
[1-1件を表示]
(0.051秒)
別のキーワード
クラス
-
REXML
:: Attribute (1)
検索結果
-
REXML
:: Attribute # namespace(arg = nil) -> String | nil (54670.0) -
属性の名前空間の URI を返します。
...間でなく、arg という名前空間
の URI が返されます。
通常は省略します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("xmlns:ns", "http://www.example.com/ns")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attrib...