Search Posts

Visits: 12

1. XINCEでインスタンス文書作成

XINCEでXBRLのインスタンス文書が作成できるということなので、マニュアルを頼りにスクリプトを作成したのですが、Arelleのプラグインとして実行するオプション指定がよく分からないこともあり、XBRL USのCampbell Pryde氏に途中経過を報告して問題個所を確認したところ、スクリプトの先頭箇所にoutput-attributeの指定が必要でした。

実行時のパラメタも教えていただき、インスタンス文書が作成できました。

今回の問い合わせの内容は、XBRL USのGitHubに登録していただいたそうです。

TO FIX YOUR EXAMPLE SEE BELOW:
Add the following to the top of your Xule expression:

/ Define output attributes /
output-attribute instance-name
output-attribute instance-taxonomy
output-attribute fact-value
output-attribute fact-concept
output-attribute fact-unit
output-attribute fact-entity
output-attribute fact-period
output-attribute fact-decimals
output-attribute fact-dimensions
output-attribute fact-instance
output-attribute fact-alignment
output-attribute fact-footnote
output-attribute fact-id
output-attribute fact-is-nil
output-attribute file-location
output-attribute file-content

To compile a your code:

python3.12 ~/arelle/Arelle-master/arellecmdline.py –xule-compile ~/Documents/GitHub/anyFolder/source/ –plugins “xule” –xule-rule-set ~/Documents/GitHub/anyFolder/map-2022-ruleset.zip –xule-max-recurse-depth=25000

The script to create an instance is as follows is as follows:

python ~/arelle/Arelle-master/arellecmdline.py –plugins ‘xule|xodel’ –xule-time .005 –xule-debug –noCertificateCheck –logFile ~/Documents/GitHub/anyFolder/instance-map.xml –xule-rule-set ~/Documents/GitHub/anyFolder/map-2022-ruleset.zip –xodel-location ~/Documents/GitHub/anyFolder –xodel-show-xule-log

The report.xsd file you refer to must exist in the location specified.

— Campbell Pryde
President and CEO XBRL US Inc.

3. XULEについてCampbell Pryde氏へのインタビュー

次のリンクにインタビューがあります。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です