24件ヒット
[1-24件を表示]
(0.011秒)
別のキーワード
ライブラリ
-
rexml
/ document (24)
クラス
-
REXML
:: Text (24)
検索結果
先頭2件
-
REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String (18201.0) -
input を正規化(すべての entity をエスケープ)したものを 返します。
...input を正規化(すべての entity をエスケープ)したものを
返します。
@param input 正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param entity_filter 置換したい実体の名前の配列... -
REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String (6200.0) -
string を非正規化(すべての entity をアンエスケープ)したものを 返します。
...化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param filter アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないでください。
//emlist[][ruby]{
require 'rexml/text'
REXML::Text.unnormalize("& &foobar; <") #......=> "& &foobar; <"
REXML::Text.unnormalize("< >", nil, ["lt"]) # => "< >"
//}...