12件ヒット
[1-12件を表示]
(0.016秒)
ライブラリ
-
rexml
/ document (12)
クラス
-
REXML
:: Attributes (12)
検索結果
-
REXML
:: Attributes # namespaces -> { String => String } (21125.0) -
self の中で宣言されている名前空間の集合を返します。
...p://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
p doc.root.attributes.namespaces
# => {"foo"=>"http://example.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}...