|
What this is
Other links
The source code
#!/usr/bin/ruby -I../src
$LOAD_PATH.unshift "../src"
require 'bdbxml'
p BDB::XML::Name
env = BDB::Env.new("tmp", BDB::CREATE | BDB::INIT_TRANSACTION)
doc = env.open_xml("toto", "a")
doc.each {|x| p x }
index = doc.index
index.add("http://moulon.inra.fr/", "reference",
"node-attribute-equality-string")
doc.index = index
bdb = env.open_db(BDB::Btree, "tutu", nil, "a")
2.times do |i|
doc.push("
|
Copyright 1998-2008 Alvin Alexander
All Rights Reserved.
devdaily.com is based in louisville, kentucky, and this web site is hosted by godaddy.com