るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.015秒)
トップページ > クエリ:type[x] > クエリ:unnormalize[x]

別のキーワード

  1. rexml/document node_type
  2. win32ole ole_type
  3. rss type
  4. rss type=
  5. net/imap media_type

ライブラリ

クラス

検索結果

REXML::Text.unnormalize(string, doctype = nil, filter = nil, illegal = nil) -> String (18213.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("&lt; &gt;", nil, ["lt"]) # => "&lt; >"
//}...