iXBRL(インラインxbrl)をC#経由でXBRLに変換します
.NETベースのアプリケーション内で他のソフトウェアを必要とせずにiXBRLからXBRLに変換します。
Aspose.Finance for .NET はXBRL、iXBRL形式を処理するためのAPIであり、開発者はビジネスプロセス管理、財務分析、およびレポート作成ソフトウェアアプリケーションを簡単に構築して、XBRLおよびiXBRLの財務関連を変換、作成、読み取り、表示、および検証できます。ファイル。
iXBRLをXBRLに変換する方法
- を使用して入力インラインXBRLファイルをロードします InlineXbrlDocumentクラス 。2.に電話します ExportToXbrlメソッド ターゲットファイルをパラメータとして提供します。
変換要件
iXBRLからXBRLへの変換を続行するには、.NETFinanceAPIが主な要件です。コマンドラインからnuget install Aspose.Finance
としてインストールするか、VisualStudioのパッケージマネージャーコンソールから`` `Install-PackageAspose.Finance```を使用してインストールします。
または、オフラインのMSIインストーラーまたはDLLをZIPファイルで取得します。 ダウンロード 。
iXBRLをXBRLファイルに変換するためのC#ソースコード
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Enable cache service, this service will cache schema and link base file, and use the local file directly in the next load | |
LocalCacheService.EnableService(@"D:\xbrl\cache"); | |
InlineXbrlDocument document = new InlineXbrlDocument(@"inline_xbrl_file_name.html"); | |
document.ExportToXbrl("xbrl_file_name.xml"); |