1件ヒット
[1-1件を表示]
(0.017秒)
モジュール
検索結果
-
REXML
:: StreamListener # entitydecl(content) -> () (46.0) -
DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。
...データの形式が異なります。
//emlist[][ruby]{
require 'rexml/parsers/baseparser'
require 'rexml/parsers/streamparser'
require 'rexml/streamlistener'
xml = <<EOS
<!DOCTYPE root [
<!ENTITY % YN '"Yes"'>
<!ENTITY % YN 'Yes'>
<!ENTITY WhatHeSaid "He said %YN;">
<!ENTITY open-hatch SYSTEM "h...