Re: Excess whitespace in XML files
| From: | Hartmut Holzgraefe | Date: | Mon, 09 Sep 2002 16:19:38 +0000 |
| Subject: | Re: Excess whitespace in XML files | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969348537@lists.php.net to get a copy of this message | ||
Jirka Kosek wrote:
Hi, while quick look into PDF which I generated, I recognized space character at the start of each paragraph and also extra blank line before and after each program listing. This is not visible in HTML as HTML is very liberal to whitespace and ignores them. Problem is that in XML whitespace is significant.AFAIR it is up to the stylesheets to define whether leading/trailing whitespace is significant or to be ignored for a tag reformating the source in a far less readable way should not be an option IMHO -- Hartmut Holzgraefe hartmut@six.de http://www.six.de/ +49-711-99091-77