726件ヒット
[1-100件を表示]
(0.048秒)
クラス
-
REXML
:: AttlistDecl (22) -
REXML
:: Attribute (66) -
REXML
:: Attributes (33) -
REXML
:: CData (22) -
REXML
:: Comment (55) -
REXML
:: Declaration (11) -
REXML
:: DocType (77) -
REXML
:: Document (55) -
REXML
:: Element (66) -
REXML
:: Entity (99) -
REXML
:: ExternalEntity (11) -
REXML
:: Instruction (22) -
REXML
:: NotationDecl (44) -
REXML
:: ParseException (11) -
REXML
:: Text (22) -
REXML
:: XMLDecl (44)
モジュール
-
REXML
:: Namespace (55) -
REXML
:: Node (11)
キーワード
- <=> (11)
- == (11)
- [] (22)
-
add
_ element (11) -
attribute
_ of (11) - content (11)
-
element
_ name (11) - encoding (22)
- entities (11)
- entity (11)
- external (11)
-
external
_ id (11) -
local
_ name (11) - name (55)
- namespace (22)
- namespaces (22)
- ndata (11)
- normalized (11)
- prefix (22)
- prefixes (22)
- pubid (11)
- public (22)
- ref (11)
-
stand
_ alone? (22) - standalone (11)
- string (11)
- string= (11)
- system (22)
- target (11)
- text (11)
-
to
_ s (110) -
to
_ string (11) - unnormalized (11)
- value (44)
- version (22)
- xpath (22)
検索結果
先頭5件
-
REXML
:: Attribute # to _ string -> String (6210.0) -
"name='value'" という形式の文字列を返します。
..."name='value'" という形式の文字列を返します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//}... -
REXML
:: Comment # string -> String (6205.0) -
コメント文字列を返します。
コメント文字列を返します。 -
REXML
:: Comment # string=(value) (6103.0) -
コメント文字列を設定します。
コメント文字列を設定します。
@param value 設定する文字列 -
REXML
:: Comment # to _ s -> String (3105.0) -
コメント文字列を返します。
コメント文字列を返します。 -
REXML
:: Attributes # namespaces -> { String => String } (204.0) -
self の中で宣言されている名前空間の集合を返します。
...ます。
返り値は名前空間の prefix をキーとし、URI を値とする
Hash を返します。
//emlist[][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' at... -
REXML
:: Element # namespaces -> {String => String} (204.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
:: CData # to _ s -> String (104.0) -
テキスト文字列を返します。
...テキスト文字列を返します。
@see REXML::Text#value, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root><![CDATA[foobar baz]]></root>
EOS
doc.root[0].class # => REXML::CData
doc.root[0].value # => "foobar baz"
//}... -
REXML
:: CData # value -> String (104.0) -
テキスト文字列を返します。
...テキスト文字列を返します。
@see REXML::Text#value, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root><![CDATA[foobar baz]]></root>
EOS
doc.root[0].class # => REXML::CData
doc.root[0].value # => "foobar baz"
//}... -
REXML
:: Document # expanded _ name -> String (104.0) -
""(空文字列)を返します。
""(空文字列)を返します。
XMLの仕様上、このオブジェクトはexpanded name名前を持ちえません。 -
REXML
:: Document # name -> String (104.0) -
""(空文字列)を返します。
""(空文字列)を返します。
XMLの仕様上、このオブジェクトはexpanded name名前を持ちえません。