24件ヒット
[1-24件を表示]
(0.107秒)
ライブラリ
-
rexml
/ document (24)
キーワード
-
attribute
_ of (12) - entity (12)
検索結果
先頭2件
-
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (115.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...れていない、
もしくはデフォルト値が宣言されていない、のいずれかの場合は nil を返します。
@param element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOC... -
REXML
:: DocType # entity(name) -> String | nil (109.0) -
name という実体参照名を持つ実体を文字列で返します。
...nnormalized 参照)
された文字列が返されます。
name という名前を持つ実体が存在しない場合には nil を返します。
@param name 実体参照名(文字列)
//emlist[][ruby]{
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [
<!ENTITY bar "barbarbarbar">...