108件ヒット
[101-108件を表示]
(0.125秒)
ライブラリ
-
rexml
/ document (108)
キーワード
-
attribute
_ of (12) -
attributes
_ of (12) - entities (12)
- entity (12)
-
external
_ id (12) - name (12)
- public (12)
- system (12)
- write (12)
検索結果
-
REXML
:: DocType # public -> String | nil (3108.0) -
DTD の公開識別子を返します。
...DTD の公開識別子を返します。
DTD が公開識別子による外部サブセットを含んでいない場合は nil を返します。
//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"
docty...