Re: Excess whitespace in XML files
| From: | Jirka Kosek | Date: | Mon, 09 Sep 2002 18:33:58 +0000 |
| Subject: | Re: Excess whitespace in XML files | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969348542@lists.php.net to get a copy of this message | ||
Hartmut Holzgraefe wrote:
> > For example if you do striping, you are unable to
> > start code example by blank line.
>
> well thats exactly what i'm talking about, triming <para>s is
> good, while triming <programlisting> isn't, so have the stylesheets
> do it this way ...
But programlistings are the problem -- it is not safe to strip blank
lines automatically, but they disrupt printed version of manual.
Removing these excess blank lines in XML source is only technically
correct solution even if the source code is then not as readable as it's
now.
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz