11件ヒット
[1-11件を表示]
(0.319秒)
ライブラリ
-
rexml
/ document (11)
クラス
-
REXML
:: Attributes (11)
検索結果
-
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (18126.0) -
namespace と name で特定される属性を返します。
...ements("/root/a").first
a.attributes.get_attribute_ns("", "att") # => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") #...