385件ヒット
[101-200件を表示]
(0.027秒)
ライブラリ
- rake (66)
- rexml (11)
-
rexml
/ document (275)
クラス
-
REXML
:: Attribute (11) -
REXML
:: Attributes (44) -
REXML
:: DocType (11) -
REXML
:: Element (77) -
REXML
:: XPath (33) -
Rake
:: NameSpace (33)
モジュール
- Kernel (11)
-
REXML
:: Namespace (88) -
Rake
:: TaskManager (11)
キーワード
- NameSpace (11)
- Ruby用語集 (11)
- UndefinedNamespaceException (11)
- [] (11)
-
add
_ namespace (22) - attribute (11)
-
delete
_ namespace (11) - each (22)
-
each
_ attribute (11) - first (11)
-
get
_ attribute _ ns (11) -
has
_ name? (11) -
in
_ namespace (11) -
local
_ name (11) - match (11)
- name= (11)
- namespace (33)
- namespaces (33)
- new (11)
- prefix (11)
- prefix= (11)
-
rake
/ classic _ namespace (11) -
ruby 1
. 8 . 4 feature (11) - tasks (11)
- whitespace (11)
検索結果
先頭5件
-
REXML
:: Attribute # namespace(arg = nil) -> String | nil (12207.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
:: Attributes # namespaces -> { String => String } (12200.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
# => {}
//}... -
REXML
:: DocType # namespaces -> nil (12200.0) -
nil を返します。
nil を返します。 -
REXML
:: Element # namespaces -> {String => String} (12200.0) -
self の文脈で定義されている名前空間の情報を返します。
...義されている名前空間を、{ prefix => 識別子 }
というハッシュテーブルで返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a xmlns:x='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")
doc.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
//}... -
REXML
:: Namespace # expanded _ name -> String (12145.0) -
REXML::Namespace#name= で設定された名前を返します。
...REXML::Namespace#name= で設定された名前を返します。
name= で指定した名前が prefix を含んでいれば
prefix を含む名前を返し、そうでなければ
prefix を含まない名前を返します。
@see REXML::Namespace#prefix... -
REXML
:: Namespace # has _ name?(other , ns = nil) -> bool (12125.0) -
self が other と ns で指定した名前を持っているならば真を返します。
...other が ":" を含んでいる(つまり prefix を含んでいる)場合は
REXML::Namespace#fully_expanded_name と other を比較します。
どちらでもない場合は other と REXML::Namespace#name を直接
比較します。
@param other 比較する名前(文字列)
@param ns 比... -
REXML
:: Namespace # local _ name -> String (12102.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Namespace # fully _ expanded _ name -> String (12101.0) -
完全修飾名を返します。
完全修飾名を返します。 -
REXML
:: UndefinedNamespaceException (12000.0) -
XMLのパース中に、定義されていない名前空間が現れた場合に発生する 例外です。
XMLのパース中に、定義されていない名前空間が現れた場合に発生する
例外です。 -
Rake
:: NameSpace (12000.0) -
タスクの名前空間を表すクラスです。
タスクの名前空間を表すクラスです。