3809件ヒット
[1-100件を表示]
(0.168秒)
ライブラリ
- rexml (44)
-
rexml
/ document (2893) -
rexml
/ parsers / pullparser (242) -
rexml
/ parsers / sax2parser (88) -
rexml
/ parsers / streamparser (22) -
rexml
/ parsers / ultralightparser (33) -
rexml
/ sax2listener (187) -
rexml
/ streamlistener (154)
クラス
-
REXML
:: AttlistDecl (77) -
REXML
:: Attribute (154) -
REXML
:: Attributes (165) -
REXML
:: CData (44) -
REXML
:: Child (77) -
REXML
:: Comment (88) -
REXML
:: Declaration (22) -
REXML
:: DocType (198) -
REXML
:: Document (220) -
REXML
:: Element (451) -
REXML
:: ElementDecl (11) -
REXML
:: Elements (154) -
REXML
:: Entity (143) -
REXML
:: ExternalEntity (33) -
REXML
:: Formatters :: Default (22) -
REXML
:: Formatters :: Pretty (33) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: Instruction (66) -
REXML
:: NotationDecl (66) -
REXML
:: Parent (286) -
REXML
:: ParseException (44) -
REXML
:: Parsers :: PullEvent (165) -
REXML
:: Parsers :: PullParser (77) -
REXML
:: Parsers :: SAX2Parser (88) -
REXML
:: Parsers :: StreamParser (22) -
REXML
:: Parsers :: UltraLightParser (33) -
REXML
:: Text (110) -
REXML
:: XMLDecl (165) -
REXML
:: XPath (33)
モジュール
-
REXML
:: EntityConst (44) -
REXML
:: Namespace (66) -
REXML
:: Node (77) -
REXML
:: SAX2Listener (187) -
REXML
:: Security (33) -
REXML
:: StreamListener (154)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (44)
- <=> (22)
- == (44)
- AMP (11)
- DECLARATION (11)
-
DEFAULT
_ ENTITIES (11) -
DEFAULT
_ VERSION (11) - ExternalEntity (11)
- GT (11)
- Instruction (11)
- LT (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (3) - NotationDecl (11)
- QUOT (11)
- UNDEFINED (11)
- XMLDecl (11)
- [] (66)
- []= (11)
- add (55)
-
add
_ attribute (22) -
add
_ attributes (11) -
add
_ element (11) -
add
_ namespace (11) - attlistdecl (22)
- attlistdecl? (11)
- attribute (11)
-
attribute
_ of (11) - attributes (11)
-
attributes
_ of (11) - cdata (22)
- cdata? (11)
- cdatas (11)
- characters (11)
- children (11)
- clone (99)
- collect (11)
- comment (22)
- comment? (11)
- comments (11)
- compact (11)
- content (11)
- context (33)
- deafen (11)
-
deep
_ clone (11) - default (11)
- delete (33)
-
delete
_ all (22) -
delete
_ at (11) -
delete
_ attribute (11) -
delete
_ element (11) -
delete
_ if (22) -
delete
_ namespace (11) - doctype (44)
- doctype? (11)
-
doctype
_ end (11) - document (22)
- dowrite (11)
- each (77)
-
each
_ attribute (11) -
each
_ child (22) -
each
_ element (11) -
each
_ element _ with _ attribute (11) -
each
_ element _ with _ text (11) -
each
_ index (22) -
each
_ recursive (11) - element (11)
-
element
_ name (11) - elementdecl (22)
- elementdecl? (11)
- elements (11)
- empty? (33)
- encoding (22)
- encoding= (11)
-
end
_ document (11) -
end
_ element (11) -
end
_ element? (11) -
end
_ prefix _ mapping (11) - entities (11)
- entity (22)
-
entity
_ expansion _ limit (22) -
entity
_ expansion _ text _ limit (22) -
entity
_ expansion _ text _ limit= (22) - entitydecl (22)
- entitydecl? (11)
-
event
_ type (11) - external (11)
-
external
_ id (11) -
find
_ first _ recursive (11) - first (11)
-
get
_ attribute (11) -
get
_ attribute _ ns (11) -
get
_ elements (11) -
get
_ text (11) -
has
_ attributes? (11) -
has
_ elements? (11) -
has
_ name? (11) -
has
_ next? (11) -
has
_ text? (11) - include? (11)
- index (22)
-
index
_ in _ parent (11) - inject (11)
-
insert
_ after (11) -
insert
_ before (11) - instruction (11)
- instruction? (11)
- instructions (11)
- length (22)
- line (11)
- listen (55)
-
local
_ name (11) - match (11)
- matches? (11)
- name (55)
- namespace (22)
- namespaces (33)
- ndata (11)
- new (286)
-
next
_ element (11) -
next
_ sibling (11) -
next
_ sibling _ node (11) -
node
_ type (99) - normalize (11)
- normalized (11)
- notation (11)
- notationdecl (22)
- notationdecl? (11)
- notations (11)
- nowrite (11)
- parent (11)
- parent? (22)
- parse (33)
-
parse
_ stream (11) - peek (11)
- position (11)
- prefix (22)
- prefixes (22)
-
previous
_ element (11) -
previous
_ sibling (11) -
previous
_ sibling _ node (11) -
processing
_ instruction (11) - progress (11)
- pubid (11)
- public (22)
- pull (11)
- push (11)
- raw (22)
- ref (11)
- remove (22)
-
replace
_ child (11) -
replace
_ with (11) - rewind (11)
-
rexml
/ document (11) -
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
rexml
/ parsers / ultralightparser (11) - root (22)
-
root
_ node (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) - size (33)
-
stand
_ alone? (22) - standalone (11)
-
start
_ document (11) -
start
_ element (11) -
start
_ element? (11) -
start
_ prefix _ mapping (11) - string (11)
- system (22)
-
tag
_ end (11) -
tag
_ start (11) - target (11)
- text (22)
- text? (11)
- texts (11)
-
to
_ a (33) -
to
_ s (110) -
to
_ string (11) - unnormalize (11)
- unnormalized (11)
- unshift (22)
- value (44)
- version (22)
- whitespace (11)
- width (11)
- write (121)
- writeencoding (11)
- writethis (11)
-
xml
_ decl (11) - xmldecl (33)
- xmldecl? (11)
- xmlrpc (3)
- xpath (22)
検索結果
先頭5件
-
rexml (44114.0)
-
Pure Ruby の XML パーサです。 DOM スタイルと SAX スタイルの両方をカバーしています。
...Pure Ruby の XML パーサです。
DOM スタイルと SAX スタイルの両方をカバーしています。
DOM スタイルの API を使うためには rexml/document を使います。
SAX スタイルの API には、
* rexml/parsers/sax2parser
* rexml/parsers/streamparser
のいず......* rexml/parsers/pullparser
* rexml/parsers/ultralightparser
などもあります。
=== リンク
* REXML Home
http://www.germane-software.com/software/rexml
* API リファレンス
http://www.germane-software.com/software/rexml_doc
日本語訳 http://pub.cozmixng.org/~kou/re......xml-doc-ja/
* チュートリアル
http://www.germane-software.com/software/rexml/docs/tutorial.html
日本語訳 http://www.baykit.org/~makotos/cgi-bin/wiliki.cgi?REXML%A5%C1%A5%E5%A1%BC%A5%C8%A5%EA%A5%A2%A5%EB&l=jp
* 日本語
http://www.cozmixng.org/~kou/ruby/rexml/
http://ww... -
rexml
/ parsers / streamparser (18126.0) -
ストリーム式の XML パーサ。
...ストリーム式の XML パーサ。
rexml の XML パーサの中では高速ですが、機能は限定的です。
もう少し高機能なストリーム式パーサが必要な場合は
REXML::Parsers::SAX2Parser を用いてください。
パーサからはコールバックによって......受け取ります。
REXML::StreamListener を include し、
必要なメソッドをオーバーライドしたクラスのオブジェクトを
コールバックオブジェクトとして REXML::Parsers::StreamParser.new
に渡します。
REXML::Parsers::StreamParser#parse を呼び出すと......][ruby]{
require 'rexml/parsers/baseparser'
require 'rexml/parsers/streamparser'
require 'rexml/streamlistener'
xml = <<EOS
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<!DOCTYPE root SYSTEM "foo" [
<!ELEMENT root (a+)>
<!ELEMENT a>
<!ENTITY bar... -
REXML
:: Parent # children -> [REXML :: Child] (15402.0) -
子ノード列の配列を返します。
子ノード列の配列を返します。 -
REXML
:: Node # find _ first _ recursive {|node| . . . } -> REXML :: Node | nil (15401.0) -
self とその各 element node を引数とし、ブロックを呼び出し、 そのブロックの返り値が真であった最初の node を返します。
self とその各 element node を引数とし、ブロックを呼び出し、
そのブロックの返り値が真であった最初の node を返します。
見付からなかった場合は nil を返します。 -
REXML
:: Parent # replace _ child(to _ replace , replacement) -> () (15400.0) -
子ノード列上の to_replace を replacement に置き換えます。
...子ノード列上の to_replace を replacement に置き換えます。
to_replace の parent は nil に、
replacement の parent は selfに変更されます。
@param to_replace 置き換え元のノード
@param replacement 置き換え先のノード... -
REXML
:: Parent # insert _ before(child1 , child2) -> self (15212.0) -
child2 を child1 で指定したノードの前に挿入します。
...ドの前に挿入します。
child1 が REXML::Child のインスタンスであるならば、その
子ノードの前に挿入されます。
child1 が 文字列であるならば、XPath で場所を指定します。
具体的には REXML::XPath.first(self, child1) で特定されるノー......ドの
前に挿入されます。
挿入されるノード(child2)の親は self に変更されます。
@param child1 挿入場所の指定
@param child2 挿入されるノード... -
REXML
:: Parent # parent? -> bool (15206.0) -
true を返します。
...true を返します。
@see REXML::Node#parent... -
REXML
:: ParseException # context -> [Integer , Integer , Integer] (14312.0) -
パースエラーが起きた(XML上の)場所を返します。
...)場所を返します。
要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML::ParseException#position
REXML::ParseException#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。
通常は line と同じ値で... -
REXML
:: ParseException # line -> Integer (14200.0) -
パースエラーが起きた(XML上の)場所を行数で返します。
パースエラーが起きた(XML上の)場所を行数で返します。 -
REXML
:: ParseException # position -> Integer (14200.0) -
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。