るりまサーチ

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

別のキーワード

  1. rexml/document node_type
  2. win32ole ole_type
  3. rss type=
  4. rss type
  5. net/imap media_type

検索結果

REXML::Parsers::PullEvent#doctype? -> bool (24201.0)

DTD 開始なら真を返します。

DTD 開始なら真を返します。

rexml/parsers/pullparser (36.0)

プル方式の XML パーサ。

...PullEvent#event_type で「開始タグ」「終了タグ」
といったイベントの種類を取得します。
REXML::Parsers::PullEvent#[] でそのイベントのパラメータ
(例えば開始タグなら要素名と属性)を得ることができます。


===[a:event_type] イベント...
...の種類とパラメータ
REXML::Parsers::PullEvent#event_type で得られるイベントの種類の
シンボルを列挙しています。

これらのうちのいくつかは、
REXML::Parsers::PullEvent#start_element? などのメソッドで
判定することが可能です。

: start_el...
...文字列)
コメント
: start_doctype (ルート要素名, "SYSTEM" | "PUBLIC" | nil, システム識別子 | nil, 公開識別子 | nil)
DTD 開始。判定は REXML::Parsers::PullEvent#doctype? メソッドで、
start_doctype? ではない
: end_doctype ()
DTD 終了
: attlistdecl (要...