Another option might be to process the XML with a proper XSLT utility 
(e.g., XMLStarlet), if the Perl script is awkward.

On Tuesday, December 18, 2018 at 1:05:16 AM UTC-8, Ivanov Dmitry wrote:
>
> I need to create custom reports from my ledger files: Excel format, 
> certain processing of raw data. With SQL it could be easy: just write your 
> query and you'll get the data. But with ledger I have to process the 
> records one by one.
>
> Currently I', using the following method: I generate XML file with 
> transactions using ledger then process it with a Perl script.
>
> Maybe, I can use ledger library directly and write a C++ program? Ledger 
> functions will process the files and I will use it's data structures. 
>
> Is there any documentation with samples of using ledger API and data 
> structures?
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to