1046件ヒット
[1-100件を表示]
(0.053秒)
別のキーワード
種類
- インスタンスメソッド (792)
- 文書 (86)
- 特異メソッド (84)
- クラス (48)
- 定数 (36)
ライブラリ
- rexml (12)
-
rexml
/ document (948)
クラス
-
REXML
:: AttlistDecl (24) -
REXML
:: Attribute (72) -
REXML
:: Attributes (36) -
REXML
:: CData (24) -
REXML
:: Comment (84) -
REXML
:: Declaration (12) -
REXML
:: DocType (96) -
REXML
:: Document (72) -
REXML
:: Element (96) -
REXML
:: Entity (120) -
REXML
:: ExternalEntity (12) -
REXML
:: Instruction (24) -
REXML
:: NotationDecl (48) -
REXML
:: ParseException (12) -
REXML
:: Text (48) -
REXML
:: XMLDecl (60)
モジュール
-
REXML
:: Namespace (60) -
REXML
:: Node (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - <=> (12)
- == (12)
- Comment (12)
-
DEFAULT
_ ENTITIES (12) -
DEFAULT
_ VERSION (12) - Default (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) - Pretty (12)
- Transitive (12)
- UNDEFINED (12)
- [] (24)
-
add
_ element (12) -
attribute
_ of (12) - content (12)
-
element
_ name (12) - encoding (24)
- entities (12)
- entity (12)
- external (12)
-
external
_ id (12) -
local
_ name (12) - matches? (12)
- name (60)
- namespace (24)
- namespaces (24)
- ndata (12)
- new (48)
- normalize (12)
- normalized (12)
- prefix (24)
- prefixes (24)
- pubid (12)
- public (24)
- ref (12)
-
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
stand
_ alone? (24) - standalone (12)
- string= (12)
- system (24)
- target (12)
- text (12)
-
to
_ s (120) -
to
_ string (12) - unnormalize (12)
- unnormalized (12)
- value (48)
- version (24)
- xpath (24)
検索結果
先頭5件
-
REXML
:: Comment # string -> String (21203.0) -
コメント文字列を返します。
コメント文字列を返します。 -
REXML
:: ParseException # to _ s -> String (11101.0) -
例外情報を文字列化して返します。
例外情報を文字列化して返します。 -
REXML
:: Attribute # to _ string -> String (9220.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=(value) (9101.0) -
コメント文字列を設定します。
コメント文字列を設定します。
@param value 設定する文字列 -
REXML
:: Comment # to _ s -> String (6103.0) -
コメント文字列を返します。
コメント文字列を返します。 -
REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String (3248.0) -
string を非正規化(すべての entity をアンエスケープ)したものを 返します。
...string を非正規化(すべての entity をアンエスケープ)したものを
返します。
filter でアンエスケープしない実体の実体名を文字列配列で指定します。
@param string 非正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@par......アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないでください。
//emlist[][ruby]{
require 'rexml/text'
REXML::Text.unnormalize("& &foobar; <") # => "& &foobar; <"
REXML::Text.unnormalize("< >", nil, ["lt"]) # => "< >"
//}... -
REXML
:: DocType # entities -> { String => REXML :: Entity } (3226.0) -
DTD で宣言されている実体の集合を Hash で返します。
...体参照名をキーとし、対応する REXML::Entity オブジェクト
を値とするハッシュテーブルです。
これには、XML のデフォルトの実体(gt, lt, quot, apos)も含まれています。
//emlist[][ruby]{
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [......<!ENTITY bar "barbarbarbar">
]>
EOS
p doctype.entities # => { "gt" => #<REXML::Entity: ...>,
# "lt" => #<REXML::Entity: ...>, ... }
p doctype.entities["bar"].to_s # => "<!ENTITY bar \"barbarbarbar\">"
p doctype.entities["gt"].to_s # => "<!ENTITY gt \">\">"
//}... -
REXML
:: Comment . new(string , parent = nil) -> REXML :: Comment (3221.0) -
Comment オブジェクトを生成します。
...mment オブジェクトを生成します。
引数に REXML::Comment オブジェクトを渡すとその内容が複製されます
(親ノードの情報は複製されません)。
@param string コメント文字列
@param comment REXML::Comment オブジェクト
@param parent 親ノード... -
REXML
:: Attributes # namespaces -> { String => String } (3214.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...