Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Rubyist                    (                   )                    iRubySystems        @iR3                at 2011.7.18 R...
@iR3          ↓ 2010.11.6 Ruby                http://www.slideshare.net/FUKUIOsamu/20101106-ramaze                        ...
• Rubyist                Rubyist should study accounting. Take the leadership beyond worker.                     •        ...
2011   7   19
Account ,                      ■                11   July 16-18 20112011   7   19
You must stand up to2011   7   19
A long time ago                 Now                IT                                   Accounting2011   7   19
2011   7   19
2011   7   19
2011   7   19
Balance sheet(B/S)   Profit and Loss statement(P/L)                   :2011.3.31          :2010.4.1 2011.3.312011   7   19
Balance sheet(B/S)   Profit and Loss statement(P/L)2011   7   19
2011   7   19
by   IFRS                P/L   B/S2011   7   19
IFRS2011   7   19
IFRS                XBRL eXtensible Business                    Reporting Language                                 XML2011...
2     XBRL                • XBRL FR    XBRL GL                • XBRL FR Financial Reporting                • XBRL GL Globa...
XBRL FR GL                        EDINET                        TDnet                FR      e-Tax                        ...
XBRL GL                XBRL GL2011   7   19
XBRL GL2011   7   19
XBRL                XBRL      2                 XML2011   7   19
2011   7   19
2011   7   19
XML Schema                Schema:                XML Schema      XML                <schema                    xmlns:link=...
annotation:                <annotation>                  <appinfo>                   <link:linkbaseRef                    ...
XML                XML                             nokogiri                http://nokogiri.org/                https://git...
require rubygems                require nokogiri                @doc = Nokogiri::XML(open("http://www.xbrl.org/           ...
XPath                nokogiri   XPath                XML Path Language  XPath; XML                http://ja.wikipedia.org/...
<?xml version="1.0" encoding="utf-8"?>                <document> <!-- XML      -->                 <chapter title=" 1   ">...
XPath                  /document :               document                ■ /* :                         document          ...
nokogiri                   Thank you                  tenderlove !2011   7   19
XML                        http://d.hatena.ne.jp/iR3/20060428#1146221233                #           DB                def ...
2011   7   19
• Rubyist                Rubyist should study accounting. Take the leadership beyond worker.                     •        ...
Upcoming SlideShare
Loading in …5
×

Rubyistに 不足しているのは会計(そろばん)!

2,330 views

Published on

RubyKaigi2011 7.18 LT

Published in: Technology
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Rubyistに 不足しているのは会計(そろばん)!

  1. 1. Rubyist ( ) iRubySystems @iR3 at 2011.7.18 RubyKaigi LT2011 7 19
  2. 2. @iR3 ↓ 2010.11.6 Ruby http://www.slideshare.net/FUKUIOsamu/20101106-ramaze FA eTax XBRL XBRL .... XBRL2011 7 19
  3. 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
  4. 4. 2011 7 19
  5. 5. Account , ■ 11 July 16-18 20112011 7 19
  6. 6. You must stand up to2011 7 19
  7. 7. A long time ago Now IT Accounting2011 7 19
  8. 8. 2011 7 19
  9. 9. 2011 7 19
  10. 10. 2011 7 19
  11. 11. Balance sheet(B/S) Profit and Loss statement(P/L) :2011.3.31 :2010.4.1 2011.3.312011 7 19
  12. 12. Balance sheet(B/S) Profit and Loss statement(P/L)2011 7 19
  13. 13. 2011 7 19
  14. 14. by IFRS P/L B/S2011 7 19
  15. 15. IFRS2011 7 19
  16. 16. IFRS XBRL eXtensible Business Reporting Language XML2011 7 19
  17. 17. 2 XBRL • XBRL FR XBRL GL • XBRL FR Financial Reporting • XBRL GL Global Ledger Framework RECOMMENDATION2011 7 19
  18. 18. XBRL FR GL EDINET TDnet FR e-Tax XBRL GL XML2011 7 19
  19. 19. XBRL GL XBRL GL2011 7 19
  20. 20. XBRL GL2011 7 19
  21. 21. XBRL XBRL 2 XML2011 7 19
  22. 22. 2011 7 19
  23. 23. 2011 7 19
  24. 24. XML Schema Schema: XML Schema XML <schema xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:gl-plt="http://www.xbrl.org/int/gl/plt/2010-04-12" elementFormDefault="qualified" targetNamespace="http://www.xbrl.org/int/gl/plt/2010-04-12" attributeFormDefault="unqualified"> </schema>2011 7 19
  25. 25. annotation: <annotation> <appinfo> <link:linkbaseRef xlink:type="simple" xlink:href="../../cor/lang/gl-cor-2010-04-12-label.xml" xlink:title="Label Links, all" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase"/> <link:linkbaseRef xlink:type="simple" xlink:href="../../cor/lang/gl-cor-2010-04-12-label-ja.xml" xlink:title="Label Links, ja" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase"/> </appinfo> </annotation>2011 7 19
  26. 26. XML XML nokogiri http://nokogiri.org/ https://github.com/tenderlove/nokogiri install sudo gem install nokogiri2011 7 19
  27. 27. require rubygems require nokogiri @doc = Nokogiri::XML(open("http://www.xbrl.org/ taxonomy/int/gl/2010-04-12/cor/lang/gl- cor-2010-04-12-label-ja.xml")) puts "@doc class : #{@doc.class}" puts "@doc : #{@doc}"2011 7 19
  28. 28. XPath nokogiri XPath XML Path Language  XPath; XML http://ja.wikipedia.org/wiki/XML_Path_Language2011 7 19
  29. 29. <?xml version="1.0" encoding="utf-8"?> <document> <!-- XML --> <chapter title=" 1 "> <paragraph> </paragraph> <paragraph> </paragraph> <paragraph> </paragraph> <paragraph> </paragraph> </chapter> <chapter title=" 2 "> <paragraph> </paragraph> </chapter> </document>2011 7 19
  30. 30. XPath /document : document ■ /* : document XML ■ /document/chapter : document chapter ■ /document/chapter[1] : document 1 chapter ■ //paragraph : paragraph ■ //chapter[@title=" 1 "]/paragraph : title " 1 " chapter paragraph2011 7 19
  31. 31. nokogiri Thank you tenderlove !2011 7 19
  32. 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 end2011 7 19
  33. 33. 2011 7 19
  34. 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

×