33件ヒット
[1-33件を表示]
(0.151秒)
ライブラリ
-
rexml
/ document (22) -
rexml
/ sax2listener (11)
クラス
-
REXML
:: Instruction (22)
モジュール
-
REXML
:: SAX2Listener (11)
キーワード
- content (11)
-
processing
_ instruction (11)
検索結果
先頭3件
-
REXML
:: Instruction # target -> String (21214.0) -
XML 処理命令のターゲットを返します。
...quire 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
//}... -
REXML
:: SAX2Listener # processing _ instruction(target , data) -> () (12408.0) -
XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。
...XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。
@param target ターゲット名が文字列で渡されます
@param data 処理命令の内容が文字列で渡されます... -
REXML
:: Instruction # content -> String | nil (3119.0) -
XML 処理命令の内容を返します。
...ersion="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}...