Sign In/My Account | View Cart  
advertisement

Article:
 Controlling Whitespace, Part Three
Subject: White spaces not outputted in printout
Date: 2006-06-29 06:17:46
From: Bob DuCharme
Response to: White spaces not outputted in printout

An XML parser usually converts all white space on either side of a tag (all carriage returns, tabs, line feeds, and spacebar spaces) to a single space, because elaborate combinations of whitespace characters aren't supposed to play a role in XML documents--if they did, cross-platform compatibility would suffer a great deal. See the introduction to Part 1 of this series (http://www.xml.com/pub/a/2001/11/07/whitespace.html).


Bob


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Sponsored By: