3960件ヒット
[1-100件を表示]
(0.113秒)
別のキーワード
ライブラリ
- rexml (12)
-
rexml
/ document (3924)
クラス
-
REXML
:: AttlistDecl (84) -
REXML
:: Attribute (192) -
REXML
:: Attributes (192) -
REXML
:: CData (48) -
REXML
:: Child (132) -
REXML
:: Comment (108) -
REXML
:: Declaration (24) -
REXML
:: DocType (216) -
REXML
:: Document (252) -
REXML
:: Element (528) -
REXML
:: ElementDecl (12) -
REXML
:: Elements (168) -
REXML
:: Entity (156) -
REXML
:: ExternalEntity (36) -
REXML
:: Formatters :: Default (24) -
REXML
:: Formatters :: Pretty (60) -
REXML
:: Formatters :: Transitive (12) -
REXML
:: Instruction (96) -
REXML
:: NotationDecl (96) -
REXML
:: Parent (348) -
REXML
:: Text (156) -
REXML
:: XMLDecl (216) -
REXML
:: XPath (36)
モジュール
-
REXML
:: EntityConst (60) -
REXML
:: Namespace (96) -
REXML
:: Node (84) -
REXML
:: Security (48)
キーワード
- << (48)
- <=> (24)
- == (48)
- AMP (12)
- APOS (12)
- AttlistDecl (12)
- Attribute (12)
- Attributes (12)
- BaseParser (12)
- CData (12)
- Child (12)
- Comment (12)
- DECLARATION (12)
-
DEFAULT
_ ENTITIES (12) -
DEFAULT
_ VERSION (12) - Declaration (12)
- Default (12)
- DocType (12)
- Document (12)
- Element (12)
- ElementDecl (12)
- Elements (12)
- Encoding (12)
- Entity (12)
- EntityConst (12)
- ExternalEntity (12)
- Functions (12)
- GT (12)
- IOSource (12)
- Instruction (12)
- LT (12)
- Namespace (12)
- Node (12)
- NotationDecl (12)
- Output (12)
- Parent (12)
- ParseException (12)
- Pretty (12)
- QUOT (12)
- Security (12)
- Source (12)
- SourceFactory (12)
- Text (12)
- Transitive (12)
- TreeParser (12)
- UNDEFINED (12)
- XMLDecl (12)
- XMLTokens (12)
- XPath (12)
- XPathParser (12)
- [] (48)
- []= (60)
- add (60)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ namespace (24) - attribute (12)
-
attribute
_ of (12) - attributes (12)
-
attributes
_ of (12) - bytes (12)
- cdatas (12)
- children (12)
- clone (108)
- collect (12)
- comments (12)
- compact (12)
- compact= (12)
- content (12)
- content= (12)
- context (24)
- context= (12)
-
deep
_ clone (12) - default (12)
- delete (36)
-
delete
_ all (24) -
delete
_ at (12) -
delete
_ attribute (12) -
delete
_ element (12) -
delete
_ if (24) -
delete
_ namespace (12) - doctype (24)
- document (24)
- dowrite (12)
- each (72)
-
each
_ attribute (12) -
each
_ child (24) -
each
_ element (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) -
each
_ index (24) -
each
_ recursive (12) - element (12)
- element= (12)
-
element
_ name (12) - elements (12)
- empty? (24)
- encoding (24)
- encoding= (12)
- entities (12)
- entity (12)
-
entity
_ expansion _ limit (24) -
entity
_ expansion _ limit= (24) -
entity
_ expansion _ text _ limit (24) -
entity
_ expansion _ text _ limit= (24) - external (12)
-
external
_ id (12) -
find
_ first _ recursive (12) - first (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ elements (12) -
get
_ text (12) -
has
_ attributes? (12) -
has
_ elements? (12) -
has
_ name? (12) -
has
_ text? (12) - include? (12)
- index (24)
-
index
_ in _ parent (12) - inject (12)
-
insert
_ after (12) -
insert
_ before (12) - instructions (12)
- length (24)
-
local
_ name (12) - match (12)
- matches? (12)
- name (60)
- name= (12)
- namespace (24)
- namespaces (36)
- ndata (12)
- new (288)
-
next
_ element (12) -
next
_ sibling (12) -
next
_ sibling= (12) -
next
_ sibling _ node (12) -
node
_ type (108) - normalize (12)
- normalized (12)
- normalized= (12)
- notation (12)
- notations (12)
- nowrite (12)
- parent (12)
- parent= (12)
- parent? (24)
-
parse
_ stream (12) - prefix (24)
- prefix= (12)
- prefixes (24)
-
previous
_ element (12) -
previous
_ sibling (12) -
previous
_ sibling= (12) -
previous
_ sibling _ node (12) - pubid (12)
- public (24)
- public= (12)
- push (12)
- raw (24)
- raw= (12)
- ref (12)
- remove (24)
-
replace
_ child (12) -
replace
_ with (12) - rexml (12)
- root (24)
-
root
_ node (12) - size (36)
-
stand
_ alone? (24) - standalone (12)
- standalone= (12)
- string (12)
- string= (12)
- system (24)
- system= (12)
- target (12)
- target= (12)
- text (12)
- text= (12)
- texts (12)
-
to
_ a (36) -
to
_ s (108) -
to
_ string (12) - unnormalize (12)
- unnormalized (12)
- unshift (12)
- value (48)
- value= (12)
- version (24)
- version= (12)
- whitespace (12)
- width (12)
- width= (12)
- write (132)
- writeencoding (12)
- writethis (12)
-
xml
_ decl (12) - xmldecl (12)
- xpath (24)
検索結果
先頭5件
-
rexml
/ document (64006.0) -
DOM スタイルの XML パーサ。
...
REXML::Document.new で XML 文書から DOM ツリーを
構築し、ツリーのノードの各メソッドで文書の内容にアクセスします。
以下のプログラムではブックマークの XML からデータを取り出します。
//emlist[][ruby]{
require 'rexml/document'
re......quire 'pp'
Bookmark = Struct.new(:href, :title, :desc)
doc = REXML::Document.new(<<XML)
<?xml version="1.0" encoding="UTF-8" ?>
<xbel version="1.0">
<bookmark href="http://www.ruby-lang.org/ja/">
<title>オブジェクト指向スクリプト言語 Ruby</title>
<desc>Rubyの公式サイ......</bookmark>
<bookmark href="http://rurema.clear-code.com/">
<title>最速Rubyリファレンスマニュアル検索! | るりまサーチ</title>
<desc>Rubyリファレンスマニュアルを全文検索できる。
とても便利。
</desc>
</bookmark>
<bookmark href="https... -
rexml (26006.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......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://www.cozmixng.org/~kou/ruby/rexml/reference... -
REXML
:: Parent # replace _ child(to _ replace , replacement) -> () (20300.0) -
子ノード列上の to_replace を replacement に置き換えます。
...子ノード列上の to_replace を replacement に置き換えます。
to_replace の parent は nil に、
replacement の parent は selfに変更されます。
@param to_replace 置き換え元のノード
@param replacement 置き換え先のノード... -
REXML
:: Node # find _ first _ recursive {|node| . . . } -> REXML :: Node | nil (20200.0) -
self とその各 element node を引数とし、ブロックを呼び出し、 そのブロックの返り値が真であった最初の node を返します。
self とその各 element node を引数とし、ブロックを呼び出し、
そのブロックの返り値が真であった最初の node を返します。
見付からなかった場合は nil を返します。 -
REXML
:: Parent # children -> [REXML :: Child] (20200.0) -
子ノード列の配列を返します。
子ノード列の配列を返します。 -
REXML
:: Parent # insert _ before(child1 , child2) -> self (20100.0) -
child2 を child1 で指定したノードの前に挿入します。
...ドの前に挿入します。
child1 が REXML::Child のインスタンスであるならば、その
子ノードの前に挿入されます。
child1 が 文字列であるならば、XPath で場所を指定します。
具体的には REXML::XPath.first(self, child1) で特定されるノー......ドの
前に挿入されます。
挿入されるノード(child2)の親は self に変更されます。
@param child1 挿入場所の指定
@param child2 挿入されるノード... -
REXML
:: Parent # parent? -> bool (20100.0) -
true を返します。
...true を返します。
@see REXML::Node#parent... -
REXML
:: Child # parent -> REXML :: Parent|nil (17300.0) -
親ノードを返します。
...親ノードを返します。
ルートノードの場合は nil を返します。
@see REXML::Child#parent=... -
REXML
:: Child # previous _ sibling -> REXML :: Node (17200.0) -
前の隣接ノードを返します。
...前の隣接ノードを返します。
REXML::Node#previous_sibling_node の別名です。
@see REXML::Child#previous_sibling=...