On Jun 10, 2009, at 3:13 AM, sims wrote:

When Ledger outputs XML, it gives no option for specifying a
stylesheet. It's not the horrible, it's just inconvenient to to parse
a string and insert <?xml-stylesheet... after <?xml version="1.0"?>.
So what I have done is modified xml.h to leave off <?xml version="1.0"?
and I will write it and the <?xml-stylesheet... before I write
Ledger's output to the file.

You could also pipe the output of "ledger xml" to "tail +2"...

John

Reply via email to