24件ヒット
[1-24件を表示]
(0.010秒)
ライブラリ
-
rexml
/ document (24)
キーワード
-
get
_ attribute _ ns (12) - namespaces (12)
検索結果
先頭2件
-
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (7.0) -
namespace と name で特定される属性を返します。
...まった場合でも、このメソッドを
使うことで属性を正しく指定することができます。
@param namespace 名前空間(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://e... -
REXML
:: Attributes # namespaces -> { String => String } (7.0) -
self の中で宣言されている名前空間の集合を返します。
...self の中で宣言されている名前空間の集合を返します。
返り値は名前空間の prefix をキーとし、URI を値とする
Hash を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xm...