4568件ヒット
[1-100件を表示]
(0.115秒)
ライブラリ
- rexml (77)
-
rexml
/ document (3597) -
rexml
/ parsers / pullparser (264) -
rexml
/ parsers / sax2parser (99) -
rexml
/ parsers / streamparser (33) -
rexml
/ parsers / ultralightparser (44) -
rexml
/ sax2listener (198) -
rexml
/ streamlistener (165)
クラス
-
REXML
:: AttlistDecl (77) -
REXML
:: Attribute (176) -
REXML
:: Attributes (176) -
REXML
:: CData (44) -
REXML
:: Child (121) -
REXML
:: Comment (99) -
REXML
:: Declaration (22) -
REXML
:: DocType (198) -
REXML
:: Document (231) -
REXML
:: Element (484) -
REXML
:: ElementDecl (11) -
REXML
:: Elements (154) -
REXML
:: Entity (143) -
REXML
:: ExternalEntity (33) -
REXML
:: Formatters :: Default (22) -
REXML
:: Formatters :: Pretty (55) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: Instruction (88) -
REXML
:: NotationDecl (88) -
REXML
:: Parent (319) -
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 (143) -
REXML
:: XMLDecl (198) -
REXML
:: XPath (33)
モジュール
-
REXML
:: EntityConst (55) -
REXML
:: Namespace (88) -
REXML
:: Node (77) -
REXML
:: SAX2Listener (187) -
REXML
:: Security (44) -
REXML
:: StreamListener (154)
キーワード
- << (44)
- <=> (22)
- == (44)
- AMP (11)
- APOS (11)
- AttlistDecl (11)
- Attribute (11)
- Attributes (11)
- BaseParser (11)
- CData (11)
- Child (11)
- Comment (11)
- DECLARATION (11)
-
DEFAULT
_ ENTITIES (11) -
DEFAULT
_ VERSION (11) - Declaration (11)
- Default (11)
- DocType (11)
- Document (11)
- Element (11)
- ElementDecl (11)
- Elements (11)
- Encoding (11)
- Entity (11)
- EntityConst (11)
- ExternalEntity (11)
- Functions (11)
- GT (11)
- IOSource (11)
- Instruction (11)
- LT (11)
- Namespace (11)
- Node (11)
- NotationDecl (11)
- Output (11)
- Parent (11)
- ParseException (11)
- Pretty (11)
- PullEvent (11)
- PullParser (11)
- QUOT (11)
- REXML (11)
- SAX2Listener (11)
- SAX2Parser (11)
- Security (11)
- Source (11)
- SourceFactory (11)
- StreamListener (11)
- StreamParser (11)
- Text (11)
- Transitive (11)
- TreeParser (11)
- UNDEFINED (11)
- UltraLightParser (11)
- UndefinedNamespaceException (11)
- XMLDecl (11)
- XMLTokens (11)
- XPath (11)
- XPathParser (11)
- [] (66)
- []= (55)
- add (55)
-
add
_ attribute (22) -
add
_ attributes (11) -
add
_ element (11) -
add
_ namespace (22) - attlistdecl (22)
- attlistdecl? (11)
- attribute (11)
-
attribute
_ of (11) - attributes (11)
-
attributes
_ of (11) - bytes (11)
- cdata (22)
- cdata? (11)
- cdatas (11)
- characters (11)
- children (11)
- clone (99)
- collect (11)
- comment (22)
- comment? (11)
- comments (11)
- compact (11)
- compact= (11)
- content (11)
- content= (11)
- context (33)
- context= (11)
- 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= (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 _ 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)
- name= (11)
- namespace (22)
- namespaces (33)
- ndata (11)
- new (308)
-
next
_ element (11) -
next
_ sibling (11) -
next
_ sibling= (11) -
next
_ sibling _ node (11) -
node
_ type (99) - normalize (11)
- normalized (11)
- normalized= (11)
- notation (11)
- notationdecl (22)
- notationdecl? (11)
- notations (11)
- nowrite (11)
- parent (11)
- parent= (11)
- parent? (22)
- parse (33)
-
parse
_ stream (11) - peek (11)
- position (11)
- prefix (22)
- prefix= (11)
- prefixes (22)
-
previous
_ element (11) -
previous
_ sibling (11) -
previous
_ sibling= (11) -
previous
_ sibling _ node (11) -
processing
_ instruction (11) - progress (11)
- pubid (11)
- public (22)
- public= (11)
- pull (11)
- push (11)
- raw (22)
- raw= (11)
- 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) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (11) - root (22)
-
root
_ node (11) - size (33)
-
stand
_ alone? (22) - standalone (11)
- standalone= (11)
-
start
_ document (11) -
start
_ element (11) -
start
_ element? (11) -
start
_ prefix _ mapping (11) - string (11)
- string= (11)
- system (22)
- system= (11)
-
tag
_ end (11) -
tag
_ start (11) - target (11)
- target= (11)
- text (22)
- text= (11)
- text? (11)
- texts (11)
-
to
_ a (33) -
to
_ s (110) -
to
_ string (11) - unnormalize (11)
- unnormalized (11)
- unshift (22)
- value (44)
- value= (11)
- version (22)
- version= (11)
- whitespace (11)
- width (11)
- width= (11)
- write (121)
- writeencoding (11)
- writethis (11)
-
xml
_ decl (11) - xmldecl (33)
- xmldecl? (11)
- xmlrpc (3)
- xpath (22)
検索結果
先頭5件
-
rexml (44084.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:......~kou/rexml-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/
ht... -
REXML (20016.0)
-
rexml の名前空間をなすモジュール。
...rexml の名前空間をなすモジュール。... -
REXML
:: ParseException # line -> Integer (17100.0) -
パースエラーが起きた(XML上の)場所を行数で返します。
...パースエラーが起きた(XML上の)場所を行数で返します。... -
REXML
:: ParseException (14018.0) -
XML のパースに失敗したときに生じる例外です。
...XML のパースに失敗したときに生じる例外です。
//emlist[][ruby]{
require 'rexml/document'
begin
REXML::Document.new("<a>foo\n</b></a> ")
rescue REXML::ParseException => ex
ex.position # => 16
ex.line # => 2
ex.context # => [16, 2, 2]
end
//}... -
REXML
:: ParseException # context -> [Integer , Integer , Integer] (14012.0) -
パースエラーが起きた(XML上の)場所を返します。
...た(XML上の)場所を返します。
要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML::ParseException#position
REXML::ParseException#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。
通常は line と... -
REXML
:: ParseException # position -> Integer (14000.0) -
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。
...パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。... -
REXML
:: ParseException # to _ s -> String (14000.0) -
例外情報を文字列化して返します。
例外情報を文字列化して返します。 -
REXML
:: UndefinedNamespaceException (14000.0) -
XMLのパース中に、定義されていない名前空間が現れた場合に発生する 例外です。
...XMLのパース中に、定義されていない名前空間が現れた場合に発生する
例外です。... -
REXML
:: Element # delete _ element(element) -> REXML :: Element (12531.0) -
子要素を削除します。
...を削除します。
element で削除する要素を指定できます。整数、文字列、REXML::Element
オブジェクトのいずれかが指定できます。
REXML::Element を指定すると、その要素が削除されます。
整数を指定すると、element 番目の要素を削......されます。
@param element 削除する要素
@see REXML::Elements#delete
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new '<a><b/><c/><c id="1"/><d/><c/></a>'
doc.delete_element("/a/b")
doc.to_s # => "<a><c/><c id='1'/><d/><c/></a>"
doc.delete_element("a/c[@id='1']")
doc.t......o_s # => "<a><c/><d/><c/></a>"
doc.root.delete_element("c")
doc.to_s # => "<a><d/><c/></a>"
doc.root.delete_element("c")
doc.to_s # => "<a><d/></a>"
doc.root.delete_element(1)
doc.to_s # => "<a/>"
//}... -
REXML
:: XMLDecl :: DEFAULT _ VERSION -> String (12132.0) -
REXML::XMLDecl.new や REXML::XMLDecl.default で の使われるデフォルトのXMLバージョン。
...REXML::XMLDecl.new や REXML::XMLDecl.default で
の使われるデフォルトのXMLバージョン。...