るりまサーチ

最速Rubyリファレンスマニュアル検索!
708件ヒット [1-100件を表示] (0.022秒)

別のキーワード

  1. psych psych_y
  2. psych y
  3. kernel y
  4. kernel psych_y

検索結果

<< 1 2 3 ... > >>

REXML::DocType#node_type -> Symbol (9103.0)

Symbol :doctype を返します。

...Symbol :doctype を返します。...

REXML::Document#doctype -> REXML::DocType | nil (6203.0)

文書の DTD を返します。

文書の DTD を返します。

文書が DTD を持たない場合は nil を返します。

REXML::Text#doctype -> REXML::DocType | nil (6203.0)

テキストノードが属する文書の DTD を返します。

...テキストノードが属する文書の DTD を返します。

そのような文書(REXML::Document)が存在しない、すなわち
テキストノードの親ノードを辿っても REXML::Document に到達しない、
場合には nil を返します。

@see REXML::DocType...

REXML::AttlistDecl#node_type -> Symbol (6103.0)

Symbol :attlistdecl を返します。

...Symbol :attlistdecl を返します。...

REXML::Attribute#node_type -> Symbol (6103.0)

「:attribute」というシンボルを返します。

「:attribute」というシンボルを返します。

絞り込み条件を変える

REXML::Child#bytes (6103.0)

@todo

@todo

REXML::Comment#node_type -> Symbol (6103.0)

シンボル :comment を返します。

シンボル :comment を返します。

REXML::DocType#entity(name) -> String | nil (6103.0)

name という実体参照名を持つ実体を文字列で返します。

...ML::Entity#unnormalized 参照)
された文字列が返されます。

name という名前を持つ実体が存在しない場合には nil を返します。

@param name 実体参照名(文字列)

//emlist[][ruby]{
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [
<!ENTITY bar "ba...
...rbarbarbar">
]>
EOS
p doctype.entity("bar") # => "barbarbar"
p doctype.entity("foo") # => nil
//}...

REXML::DocType#system -> String | nil (6103.0)

DTD のシステム識別子を返します。

.../emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype.system # => "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype.public #...
...=> "-//W3C//DTD XHTML 1.0 Strict//EN"

doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE root SYSTEM "foobar">
EOS
doctype.system # => "foobar"
doctype.public # => nil
//}...
<< 1 2 3 ... > >>