(2007.12.6 ページを分けた) Node モジュール ChildとAttributeでincludeされます。 Ruby 1.8.6では、Attributeの next/previous_sibling_node は nilを返します (XPathと整合)。each_recursive はエラーになります (Parent辺りで定義すべき)。 next_sibling_node 後方に向かって次の兄弟オブジェクトを返す。 previous_sibling_node 一つ手前の兄弟オブジェクトを返す。 each_recursive {|node| ...} 再帰的に子オブジェクトをブロックに渡す。 find_first_recursive {|node| ...} 再帰的に子オブジェクトをブロックに渡し、最初にブロック内で真を返したノードを返す。 @ 抽象クラス Child 何かの子と
Overview Abstract This is a tutorial for using REXML, a pure Ruby XML processor. Introduction REXML was inspired by the Electric XML library for Java, which features an easy-to-use API, small size, and speed. Hopefully, REXML, designed with the same philosophy, has these same features. I've tried to keep the API as intuitive as possible, and have followed the Ruby methodology for method naming and
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く