るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.041秒)
トップページ > クエリ:rexml[x] > クエリ:instruction[x] > モジュール:REXML::StreamListener[x]

別のキーワード

  1. rexml/document new
  2. rexml/document write
  3. rexml/document clone
  4. rexml/document to_s
  5. rexml/document node_type

ライブラリ

検索結果

REXML::StreamListener#instruction(name, instruction) -> () (21215.0)

XML処理命令(PI)をパースしたときに呼び出されるコールバックメソッドです。

...e ターゲット名が文字列で渡されます
@param instruction 処理命令の内容が文字列で渡されます

=== 例
<?xml-stylesheet type="text/css" href="style.css"?>
というPIに対し
name: "xml-stylesheet"
instruction
: " type=\"text/css\" href=\"style.css\""
という引...