624件ヒット
[101-200件を表示]
(0.068秒)
種類
- インスタンスメソッド (468)
- 特異メソッド (48)
- ライブラリ (48)
- クラス (48)
- 定数 (12)
ライブラリ
-
cgi
/ html (72) -
net
/ http (36) -
rexml
/ document (348) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (60) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (36)
クラス
-
Net
:: HTTPResponse (36) -
REXML
:: DocType (216) -
REXML
:: Document (36) -
REXML
:: Parsers :: PullEvent (12) -
REXML
:: Parsers :: SAX2Parser (60) -
REXML
:: Text (48)
モジュール
-
CGI
:: Html3 (12) -
CGI
:: Html4 (12) -
CGI
:: Html4Fr (12) -
CGI
:: Html4Tr (12) -
CGI
:: HtmlExtension (24) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (36)
キーワード
- << (12)
-
DEFAULT
_ ENTITIES (12) - Entity (12)
- ExternalEntity (12)
- NotationDecl (12)
- add (24)
-
attribute
_ of (12) -
attributes
_ of (12) - body (12)
- clone (12)
- context (12)
- doctype (96)
- doctype? (12)
-
doctype
_ end (12) - entities (12)
- entity (24)
- entitydecl (12)
-
external
_ id (12) - html (24)
- listen (60)
- name (12)
- namespaces (12)
- new (24)
-
node
_ type (12) - normalize (12)
- notation (12)
- notations (12)
- public (12)
-
read
_ body (12) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
rexml
/ parsers / ultralightparser (12) - system (12)
- unnormalize (12)
- write (12)
検索結果
先頭5件
-
REXML
:: DocType # public -> String | nil (9160.0) -
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-str......ict.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
//}... -
CGI
:: Html3 # doctype (9101.0) -
@todo
@todo -
CGI
:: Html4 # doctype (9101.0) -
@todo
@todo -
CGI
:: Html4Fr # doctype (9101.0) -
@todo
@todo -
CGI
:: Html4Tr # doctype (9101.0) -
@todo
@todo -
REXML
:: StreamListener # doctype _ end -> () (9101.0) -
文書型宣言(DTD)の終了区切りをパースしたときに呼び出されるコールバックメソッドです。
文書型宣言(DTD)の終了区切りをパースしたときに呼び出されるコールバックメソッドです。 -
REXML
:: DocType :: DEFAULT _ ENTITIES -> { String => REXML :: Entity } (9100.0) -
XML の仕様上デフォルトで定義されている実体の Hash table。
...XML の仕様上デフォルトで定義されている実体の Hash table。
"amp" => REXML::EntityConst::AMP は含まれません。... -
REXML
:: DocType . new(source , parent = nil) -> REXML :: DocType (6241.0) -
DocType オブジェクトを生成します。
...
DocType オブジェクトを生成します。
REXML::Source オブジェクトの場合は、Source オブジェクトが
保持しているDTDのテキストがパースされ、その内容によって DocType
オブジェクトが初期化されます。
REXML::DocType.new(Source.new(<<EOS)......)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
このインターフェースは deprecated です。
このメソッドは他のインターフェースもありますが、内部用なので使わないで
くださ......い。
一般的にいって、XML 文書に含まれる DTD は REXML::Document.new などで
適切に解析され、REXML::Document#doctype で取得できます。
このメソッドを直接使う必要はありません。... -
REXML
:: DocType # write(output , indent = 0 , transitive = false , ie _ hack = false) -> () (6230.0) -
output に DTD を出力します。
...output に DTD を出力します。
このメソッドは deprecated です。REXML::Formatter で
出力してください。
@param output 出力先の IO オブジェクト
@param indent インデントの深さ。指定しないでください。
@param transitive 無視されます。指定......い。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
<!EN......TITY p "foobar publisher">
<!ENTITY % q "quzz">
]>
EOS
doctype.write(STDOUT)
# =>
# <!DOCTYPE books [
# <!ELEMENT book (comment)>
# ....
//}...