るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.109秒)

別のキーワード

  1. entity ndata
  2. rexml/document ndata
  3. ndata rexml::entity
  4. ndata rexml/document

ライブラリ

モジュール

検索結果

REXML::StreamListener#entitydecl(content) -> () (18114.0)

DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。

...ttp://www.textuality.com/boilerplate/OpenHatch.xml">
<!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>
]>
<root />
EOS

class Listener
include REXML::StreamListener
def entitydecl(content); p content; end
end
REXML::Parsers::StreamParser.new(xml, Listener.new).parse
# >> ["YN", "\"Y...