るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.029秒)
トップページ > クエリ:e=[x] > クエリ:namespace[x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. open3 capture2e
  4. matrix det_e
  5. matrix rank_e

ライブラリ

クラス

モジュール

検索結果

REXML::Attribute#namespace(arg = nil) -> String | nil (18113.0)

属性の名前空間の 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_attribute("r").prefix # => "ns"
p e.attributes.get_attribute("r").namespace # => "http://www.example.com/ns"
//}...

REXML::Namespace#name=(name) (9100.0)

名前を設定します。

名前を設定します。

prefix を持つ名前も持たない名前も受け付けます。

@param name 名前(文字列)