るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.020秒)
トップページ > クエリ:github[x] > クエリ:rexml/document[x]

別のキーワード

  1. rexml/document new
  2. rexml/document write
  3. rexml/document to_s
  4. rexml/document clone
  5. rexml/document node_type

検索結果

rexml/document (38030.0)

DOM スタイルの XML パーサ。

...スします。

以下のプログラムではブックマークの XML からデータを取り出します。

//emlist[][ruby]{
require 'rexml/document'
require 'pp'

Bookmark = Struct.new(:href, :title, :desc)

doc = REXML::Document.new(<<XML)
<?xml version="1.0" encoding="UTF-8" ?>
<xbel versi...
...スマニュアルを全文検索できる。
とても便利。
</desc>
</bookmark>
<bookmark href="https://github.com/rurema/bitclust">
<title>rurema/bitclust · GitHub</title>
</bookmark>
<bookmark href="https://rubygems.org/gems/bitclust-core" />
</xbel>
XML

bookmarks = REXML::X...
...ニュアルを全文検索できる。\nとても便利。\n ">,
# >> #<struct Bookmark
# >> href="https://github.com/rurema/bitclust",
# >> title="rurema/bitclust · GitHub",
# >> desc=nil>,
# >> #<struct Bookmark
# >> href="https://rubygems.org/gems/bitclust-core",
# >> title=nil,...