I'm not good in reading specifications but I think it's the good way to follow specifications. http://www.w3.org/TR/xml/#sec-white-space -> www.w3.org/TR/xml/#sec-white-space http://www.w3.org/TR/xml11/#sec-white-space -> www.w3.org/TR/xml11/#sec-white-space
I think it's ok to keep whitespaces after formating. Although I think amj0306 should review his project as it is no good practice to deal with text nodes containing leading, trailing or successive blanks. -- <http://forum.pspad.com/read.php?4,64997,65010> PSPad freeware editor http://www.pspad.com
