240件ヒット
[1-100件を表示]
(0.042秒)
クラス
-
REXML
:: AttlistDecl (12) -
REXML
:: Attribute (24) -
REXML
:: Attributes (24) -
REXML
:: DocType (36) -
REXML
:: Document (24) -
REXML
:: Element (24) -
REXML
:: Entity (24) -
REXML
:: NotationDecl (12)
モジュール
-
REXML
:: Namespace (60)
キーワード
- [] (12)
-
element
_ name (12) - entity (12)
-
external
_ id (12) -
local
_ name (12) - namespace (24)
- namespaces (24)
- ndata (12)
- prefix (12)
-
to
_ string (12)
検索結果
先頭5件
-
REXML
:: Namespace # name -> String (21207.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Document # name -> String (18213.0) -
""(空文字列)を返します。
...""(空文字列)を返します。
XMLの仕様上、このオブジェクトはexpanded name名前を持ちえません。... -
REXML
:: DocType # name -> String (18211.0) -
ルート要素名を返します。
...ルート要素名を返します。
//emlist[][ruby]{
document = REXML::Document.new(<<EOS)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype = document.doctype
p doctype.name # => "html"
//}... -
REXML
:: Entity # name -> String (18205.0) -
実体の名前を返します。
実体の名前を返します。 -
REXML
:: NotationDecl # name -> String (18205.0) -
記法宣言の名前を返します。
記法宣言の名前を返します。 -
REXML
:: Namespace # expanded _ name -> String (9227.0) -
REXML::Namespace#name= で設定された名前を返します。
...REXML::Namespace#name= で設定された名前を返します。
name= で指定した名前が prefix を含んでいれば
prefix を含む名前を返し、そうでなければ
prefix を含まない名前を返します。
@see REXML::Namespace#prefix... -
REXML
:: Namespace # local _ name -> String (9207.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Namespace # fully _ expanded _ name -> String (9205.0) -
完全修飾名を返します。
完全修飾名を返します。 -
REXML
:: Attributes # namespaces -> { String => String } (6305.0) -
self の中で宣言されている名前空間の集合を返します。
...mlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://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"=>"htt......p://example.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}...