Ralf: Did you ensure your XML file has a proper processing instruction? i.e., does it begin, on its very first line, with "<?xml "?
On Sun, Mar 13, 2016 at 3:39 PM, Ralf Ebert <[email protected]> wrote: > This does not seem to happen in v3.1.1: > > While parsing file "ledger.xml", line 3: > Error: Unexpected whitespace at beginning of line > While parsing file "ledger.xml", line 2128: > Error: Directive '</ledger>' requires an argument > > Is there any alternative to the XML format? > Are there any alternatives for reading+writing ledger files from a script > language for automated processing of transactions? > > > On Tuesday, March 8, 2016 at 6:12:45 PM UTC+1, John Wiegley wrote: >> >> >>>>> Ralf Ebert <[email protected]> writes: >> >> > "... It will output such data if the xml command is used, and can read >> the >> > same data." >> >> It's possible that xml reading is not supported in 3.x. It should just >> read >> the data directly, once it notices that the file begins with <?xml... >> >> -- >> John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F >> http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 >> > -- > > --- > 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. > -- --- 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.
