4

aqbankingで次のコマンドを実行すると

aqbanking-cli request -a 0987654321 -c transactions.ctx --transactions --fromdate=20121011

以下のような内容のファイルを作成しています。それはどのような形式ですか、私はそれを解析するCライブラリを見つけようとしています。

ファイルtransactions.ctxから:

accountInfoList {
  accountInfo {
    char bankCode="1234567890"
    char bankName="Deutsche Bank"
    char accountNumber="0987654321"
    char accountName="Girokonto"
    char owner="MUELLER, MIKE"
    char currency="EUR"
    int  accountType="0"
    int  accountId="42"

    statusList {
      status {
        int  time="1349956800"

        notedBalance {
          value {
            char value="8799384%2F100"
            char currency="EUR"
          } #value

          int  time="1349956800"
        } #notedBalance
      } #status
    } #statusList
  } #accountInfo
} #accountInfoList
4

1 に答える 1

2

これは標準のファイル形式ではありません。これは、Gwenhywfarライブラリのファイル形式です。http://freecode.com/projects/gwenhywfar

READMEの機能リストから、

High-level functions for parsing files with a simplified "XML-like"
format and accessing them like a hierarchical database (src/parser/)
It is able to process valid XML files, too.

おそらく使用できるsrc/parserフォルダーにC++関数がありますが、ドキュメントが少し不足しているように見えます。

于 2012-10-11T21:29:44.353 に答える