るりまサーチ

最速Rubyリファレンスマニュアル検索!
176件ヒット [1-100件を表示] (0.081秒)
トップページ > 種類:クラス[x] > クエリ:A[x] > ライブラリ:rexml/document[x]

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

キーワード

検索結果

<< 1 2 > >>

REXML::Parsers::BaseParser (9003.0)

内部用です。使わないでください。

...内部用です。使わないでください。

XML のパーサです。他の rexml のパーサはこのパーサの wrapper です。...

REXML::Parsers::TreeParser (9003.0)

内部用です。使わないでください。

内部用です。使わないでください。

XML 文書から DOMオブジェクトを組み立てるパーサです。
REXML::Document.new などから使われます。

REXML::Parsers::XPathParser (9003.0)

XPath 文字列をパースするための内部的なクラスです。

...XPath 文字列をパースするための内部的なクラスです。

ユーザは利用しないでください。...

REXML::AttlistDecl (6003.0)

DTD の属性リスト宣言を表すクラスです。

DTD の属性リスト宣言を表すクラスです。

REXML::Attribute (6003.0)

要素(REXML::Element)の属性を表すクラスです。

...要素(REXML::Element)の属性を表すクラスです。

つまり、 <element attribute="value"/> という
要素における attribute=value というペアのことです。

属性にはなんらかの名前空間(namespace, REXML::Namespace)
に属することができます。...

絞り込み条件を変える

REXML::Attributes (6003.0)

属性の集合を表すクラスです。

...属性の集合を表すクラスです。

REXML::Element#attributes はこのクラスのオブジェクトを返します。
各属性には REXML::Attributes#[] でアクセスします。...

REXML::CData (6003.0)

XML の cdata セクションを表すクラス

...XML の cdata セクションを表すクラス

cdata とは <![CDATA[ と ]]> で囲まれたテキストデータのことです。...

REXML::Declaration (6003.0)

DTD に含まれる各種宣言ノードを表すクラスです。

DTD に含まれる各種宣言ノードを表すクラスです。

このクラス自体は直接はインスタンスを作りません。
各サブクラスのインスタンスが使われます。

REXML::ExternalEntity (6003.0)

DTD 内の宣言でパラメータ実体参照を使って宣言が されているものを表わすクラスです。

...{
require 'rexml/document'

doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE xhtml [
<!ENTITY % HTMLsymbol PUBLIC
"-//W3C//ENTITIES Symbols for XHTML//EN"
"xhtml-symbol.ent">
%HTMLsymbol;
]>
EOS

p doctype.children.find_all{|child| REXML::ExternalEntity === child }.map(&:to_s)...

REXML::Formatters::Default (6003.0)

XMLドキュメントを(文字列として)出力するクラスです。

...Formatters::Pretty と
異なりテキストの改行や空白を修正せずにそのまま出力します。

//emlist[][ruby]{
require 'rexml/document'
require 'rexml/formatters/default'
doc = REXML::Document.new <<EOS
<root>
<children>
<grandchildren/>
</children>
</root>
EOS

default_formatte...
...matters::Default.new
output = StringIO.new
default_formatter.write(doc, output)
output.string
# => "<root>\n<children>\n <grandchildren/>\n</children>\n</root>\n"

output = StringIO.new
default_formatter.write(REXML::XPath.first(doc, "/root/children"), output)
output.string
# => "<children>\n <gra...
...ndchildren/>\n</children>"

ie_hack_formatter = REXML::Formatters::Default.new(true)
output = StringIO.new
ie_hack_formatter.write(doc, output)
output.string
# => "<root>\n<children>\n <grandchildren />\n</children>\n</root>\n"
//}...

絞り込み条件を変える

<< 1 2 > >>