110件ヒット
[101-110件を表示]
(0.143秒)
ライブラリ
-
rexml
/ document (44) - rss (22)
-
rubygems
/ specification (44)
クラス
-
Gem
:: Specification (44) -
REXML
:: DocType (44) -
RSS
:: Rss :: Channel :: Item (22)
キーワード
-
attribute
_ of (11) -
attributes
_ of (11) -
external
_ id (11) - write (11)
検索結果
-
REXML
:: DocType # write(output , indent = 0 , transitive = false , ie _ hack = false) -> () (107.0) -
output に DTD を出力します。
...@param indent インデントの深さ。指定しないでください。
@param transitive 無視されます。指定しないでください。
@param ie_hack 無視されます。指定しないでください。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS)......ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
<!ENTITY p "foobar publisher">
<!ENTITY % q "quzz">
]>
EOS
doctype.write(STDOUT)
# =>
# <!DOCTYPE books [
# <!ELEMENT bo......ok (comment)>
# ....
//}...