るりまサーチ (Ruby 3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.021秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:class[x] > バージョン:3.0[x] > クエリ:>>[x] > ライブラリ:rexml/streamlistener[x]

別のキーワード

  1. argf.class lines
  2. argf.class each
  3. argf.class each_line
  4. class new
  5. argf.class to_a

モジュール

検索結果

REXML::StreamListener#entitydecl(content) -> () (136.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...