るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

検索結果

<< 1 2 3 ... > >>

REXML::Instruction#clone -> REXML::Instruction (9302.0)

self を複製します。

self を複製します。

REXML::Instruction#content -> String | nil (9232.0)

XML 処理命令の内容を返します。

...emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/cs...
...s\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}...

REXML::DocType#notation(name) -> REXML::NotationDecl | nil (6302.0)

DTD に含まれている記法宣言 (REXML::NotationDecl) で name という名前を持つものを返します。

...DTD に含まれている記法宣言 (REXML::NotationDecl) で
name という名前を持つものを返します。

name という名前を持つ記法宣言が存在しない場合は nil を返します。

@param name 検索する記法名...

REXML::DocType#notations -> [REXML::NotationDecl] (6302.0)

DTD に含まれている記法宣言 (REXML::NotationDecl) を 配列で返します。

...DTD に含まれている記法宣言 (REXML::NotationDecl) を
配列で返します。...

REXML::Element#instructions -> [REXML::Instraction] (6302.0)

すべての instruction 子ノードの配列を返します。

...すべての instruction 子ノードの配列を返します。

返される配列は freeze されます。...

絞り込み条件を変える

REXML::Document.entity_expansion_text_limit -> Integer (6232.0)

実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。

...トは 10240 (byte) です。

このメソッドは Ruby 2.1 から deprecated になりました。
REXML::Security.entity_expansion_text_limit を使ってください。

@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/...

REXML::Security.entity_expansion_text_limit -> Integer (6232.0)

実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。

...せ、処理を中断します。

実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。

デフォルトは 10240 (byte) です。

@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/...

REXML::Document#stand_alone? -> String (6208.0)

XML 宣言の standalone の値を文字列で返します。

...XML 宣言の standalone の値を文字列で返します。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.stand_alone? # => "yes"
//}...

REXML::Document#version -> String (6208.0)

XML 宣言に含まれている XML 文書のバージョンを返します。

...XML 宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.version # => "1.0"
//}...

REXML::Attribute#clone -> REXML::Element (6202.0)

self を複製し返します。

self を複製し返します。

絞り込み条件を変える

<< 1 2 3 ... > >>