Re: [xml] xmllint format and tabs



Documentation updated (see below) and the change is checked in.

Aleksey

Index: xmllint.xml
===================================================================
RCS file: /cvs/gnome/gnome-xml/doc/xmllint.xml,v
retrieving revision 1.7
diff -u -r1.7 xmllint.xml
--- xmllint.xml 7 Jan 2003 03:54:25 -0000       1.7
+++ xmllint.xml 9 Mar 2003 22:31:39 -0000
@@ -330,7 +330,9 @@
       <term><option>--format</option></term>
       <listitem>
         <simpara>
-          Reformat and reindent the output.
+          Reformat and reindent the output. The $XMLLINT_INDENT
+          environment variable controls the indentation (default
+          value is two spaces &quot;&nbsp;&nbsp;&quot;).
         </simpara>
       </listitem>
      </varlistentry>



Daniel Veillard wrote:

On Sun, Mar 09, 2003 at 10:15:40AM -0800, Aleksey Sanin wrote:
The variable xmlTreeIndentString defined in include/xmlsec/globals.h contains the string used to do one level indent. By default it is set to " " (two spaces). The patch to xmllint.c to set it from an environment variable is trivial (see
attached file).  I can commit it if Daniel has no objections.

 Okay, but update the documentation too then.
   thanks,

Daniel






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]