3. • Rubyist
Rubyist should study accounting. Take the leadership beyond worker.
• Ruby
IFRS
XBRL GL
If you use Ruby on IFRS System for XBRL GL you will win!
• XBRL nokogiri
The nokogiri is best tool for XBRL handling.
And my recursive method.
2011 7 19
32. XML
http://d.hatena.ne.jp/iR3/20060428#1146221233
# DB
def getchild( db, gr_id )
out = "" #
sql = "select gr_id,gr_name from grlist where sgr_id=#{gr_id}"
rows = db.query(sql) rows.each_with_index{ |row,i|
gr_id1 = row[0]
gr_name = row[1]
out << "<#{gr_name} data='#{gr_id}'>"
out << "rn"
if gr_id != gr_id1
out << getchild(db, gr_id1)
end
out << "</#{gr_name} >" out << "rn"
}
return
out
end
2011 7 19
34. • Rubyist
Rubyist should study accounting. Take the leadership beyond worker.
• Ruby
IFRS
XBRL GL
If you use Ruby on IFRS System for XBRL GL you will win!
• XBRL nokogiri
The nokogiri is best tool for XBRL handling.
And my recursive method.
2011 7 19