24件ヒット
[1-24件を表示]
(0.025秒)
キーワード
検索結果
-
rexml
/ parsers / pullparser (19.0) -
プル方式の XML パーサ。
...す。
: start_element (要素名, 属性)
XML要素の開始タグ。属性は { 属性名文字列 => 属性値文字列 } という Hash
: end_element (要素名)
XML要素の終了タグ
: text (正規化文字列, 非正規化文字列)
テキストノード
: processing_instruction (タ......# >> text: ["\n ", "\n "]
# >> start_element: ["a", {"foo:att"=>"1", "bar:att"=>"2", "att"=>"<"}]
# >> end_element: ["a"]
# >> text: ["\n && ", "\n && "]
# >> comment: [" comment here"]
# >> text: [" &bar;\n", " barbarbarbar\n"]
# >> end_element: ["root"]
# >> text: ["\n", "\n"]
//}... -
rexml
/ parsers / sax2parser (19.0) -
SAX2 と同等の API を持つストリーム式の XML パーサ。
...ment, "http://example.org/bar", "b", "bar:b", {}]
# >> [:progress, 683]
# >> [:end_element, "http://example.org/bar", "b", "bar:b"]
# >> [:progress, 683]
# >> [:characters, "\n "]
# >> [:progress, 683]
# >> [:end_element, "http://example.org/default", "a", "a"]
# >> [:progress, 683]
# >> [:characte......# >> [:progress, 683]
# >> [:comment, " comment here"]
# >> [:progress, 683]
# >> [:characters, " barbarbarbar\n"]
# >> [:progress, 683]
# >> [:end_element, "http://example.org/default", "root", "root"]
# >> [:end_prefix_mapping, nil]
# >> [:end_prefix_mapping, "foo"]
# >> [:end_prefix_mapping, "ba...