File: README

package info (click to toggle)
ledger 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,964 kB
  • sloc: cpp: 39,393; python: 4,476; perl: 1,309; sh: 477; lisp: 435; yacc: 103; makefile: 58
file content (22 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ledger-cli xml2html XLST

This XLST produces a browsable html page out of the xml files created by ledger xml.

It might be used in the future to create a ledger html output.

usage:

  from existing xml file:

    xsltproc --output output-ledger.html ledger.xsl input-ledger.xml

  from ledger file directly:

    ledger -f input.ledger xml | xsltproc --output output-ledger.html ledger.xsl -

parameters:

  - `quantityFormat`: format for quantities, default is '#.00' (2 decimal
    places). If you want no decimals, use `xsltproc --param quantityFormat "'#'"
    ...`, see the xslt spec for details:
    https://www.w3.org/TR/1999/REC-xslt-19991116/#function-format-number