1 / 9

XBRL Programming 3. Taxonomy

Learn about XBRL Taxonomy Parser, a crucial tool for handling complex financial data structures, simplifying reporting, and ensuring compliance with accounting standards.

guida
Download Presentation

XBRL Programming 3. Taxonomy

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XBRL Programming 3. Taxonomy 20120119 魏長風 cfwei.tw@gmail.com

  2. http://www.dummies.com/how-to/content/xbrl-for-dummies-cheat-sheet.htmlhttp://www.dummies.com/how-to/content/xbrl-for-dummies-cheat-sheet.html

  3. Taxonomy • 用來描述某個單位所制定的會計準則 • Taxonomy = Schema + Linkbases • Schema, 定義所有的科目 • Linkbase • Label, 各國語言對照 • Presentation, 定義表格 • Calculation, 定義加總關係 • Definition, 大多用在dimension • Reference, 會計法規連結

  4. We need Taxonomy Parser • Instance結構簡單, 直接處理不難 • Taxonomy結構十分複雜 • NCCU Taxonomy Parser一共用了8644行c++ code. • DTS, schema檔會import其他schema檔 • Linkbase • 並不是單純樹狀XML • 使用XPointer/XLink • 會連結到別的linkbase檔案內容 • 必須照order來排序

  5. DTS B Taxonomy C Taxonomy A Taxonomy A Schema B Schema C Schema A1 label A2 presentation A3 calculation B1 label B2 presentation B3 calculation C1 label C2 presentation C3 calculation D Taxonomy D Schema D1 label D2 presentation D3 calculation

  6. Linkbase processing <loc xlink:label=“AA”> <**Arc xlink:from=“AA” xlink:to=“BB”> <**Arc xlink:from=“AA” xlink:to=“CC”> <loc xlink:label=“BB”> <loc xlink:label=“CC”> <**Arc xlink:from=“CC” xlink:to=“DD”> <**Arc xlink:from=“CC” xlink:to=“EE”> <loc xlink:label=“DD”> <loc xlink:label=“EE”>

  7. reading Taxonomy how-to • 1. JCX Taxonomy API • 昨天課程有敎 • Java programming • 2. NCCU XBRL tools • http://www.openfoundry.org/of/projects/1938 • TaxParserTree.exe • 將Taxonomy轉成比較簡單的格式 • 3. others

  8. Parser tree output • Command line: TaxParserTree.exe DemoSite.20091117\tw-tse-pt_2008-12-20.xsd ParserTree.xml • 透過DOM+XPath來讀取ParserTree.xml

  9. NCCU Taxonomy Parser Taxonomy Parser

More Related