gnucash-docs maint: Improve xmlformat README, feedback by CWehli
Frank H.Ellenberger
fell at code.gnucash.org
Fri Apr 23 14:32:19 EDT 2021
Updated via https://github.com/Gnucash/gnucash-docs/commit/69ff5ded (commit)
from https://github.com/Gnucash/gnucash-docs/commit/1cc6aa97 (commit)
commit 69ff5dedc92b33db31b0adc9ee23c5b1de4ffb4e
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date: Fri Apr 23 20:31:59 2021 +0200
Improve xmlformat README, feedback by CWehli
diff --git a/util/xmlformat/README b/util/xmlformat/README
index bb244ef..f132789 100644
--- a/util/xmlformat/README
+++ b/util/xmlformat/README
@@ -1,4 +1,5 @@
A part of the xmlformat package from http://www.kitebird.com/software/xmlformat
+which is unfortunately not in all important distributions.
Motivation: most xml formatters like xmllint support only block layout. That is
fine for data files, but Docbook has many elements which look inline nicer.
@@ -7,7 +8,10 @@ Requirements: The installed part requires Perl.
If you prefer Ruby, you can also install xmlformat.rb.
To reformat an existing file run from the top source dir:
-util/xmlformat/xmlformat -f util/xmlformat/xmlformat.conf -i xml-file
+util/xmlformat/xmlformat.pl -f util/xmlformat/xmlformat.conf -i xml-file
+
+If you installed the package xmlformat you can shorten it to:
+xmlformat -f util/xmlformat/xmlformat.conf -i xml-file
To reformat all files of the english guide:
for i in guide/C/*.xml; do util/xmlformat/xmlformat.pl -f util/xmlformat/xmlformat.conf -i $i ; done
Summary of changes:
util/xmlformat/README | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
More information about the gnucash-changes
mailing list