るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. instruction node_type
  2. instruction clone
  3. instruction content
  4. instruction target=
  5. instruction target

ライブラリ

検索結果

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

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

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

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

=== 例
<?xml-stylesheet type="text/css" href="style.css"?>
というPIに対し
name: "xml-stylesheet"
instruction: " type=\"text/css\" href=\"style.css\""
という引数が渡されます。