るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.238秒)
トップページ > クエリ:doctype[x] > クエリ:rexml/parsers/ultralightparser[x]

別のキーワード

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

検索結果

rexml/parsers/ultralightparser (38018.0)

パース結果を配列で作られた木構造により返すパーサ。

...ット文字列, 内容文字列 | nil]
XML処理命令(Processing Instruction, PI)
: [:comment ,コメント文字列]
コメント
: [:start_doctype, 親ノード, ルート要素名, "SYSTEM" | "PUBLIC" | nil, システム識別子 | nil, 公開識別子 | nil, *子ノード]
DTD。子ノ...
...
doctype
内のパラメータ実体参照。

=== 例
以下の例は簡単な XML をパースし、その結果を返しています。[...]の部分は親
ノードを指しているので、pp の表示では省略されています。

//emlist[][ruby]{
require 'rexml/parsers/ultralightparser...