84件ヒット
[1-84件を表示]
(0.109秒)
ライブラリ
-
rexml
/ document (24) -
rexml
/ streamlistener (12) - rss (48)
クラス
モジュール
キーワード
- content (12)
- href= (24)
- instruction (12)
- target (12)
検索結果
先頭5件
-
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet # href (24103.0) -
@todo
@todo -
RSS
:: XMLStyleSheet # href (21103.0) -
@todo
@todo -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet # href=() (12103.0) -
@todo
@todo -
RSS
:: XMLStyleSheet # href= (9103.0) -
@todo
@todo -
REXML
:: Instruction # content -> String | nil (25.0) -
XML 処理命令の内容を返します。
...<EOS)
<?xml version="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 #... -
REXML
:: Instruction # target -> String (25.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
:: StreamListener # instruction(name , instruction) -> () (25.0) -
XML処理命令(PI)をパースしたときに呼び出されるコールバックメソッドです。
...字列で渡されます
@param instruction 処理命令の内容が文字列で渡されます
=== 例
<?xml-stylesheet type="text/css" href="style.css"?>
というPIに対し
name: "xml-stylesheet"
instruction: " type=\"text/css\" href=\"style.css\""
という引数が渡されます。...