Sign In/My Account | View Cart  
advertisement

Article:
 Controlling Whitespace, Part 1
Subject: XML formatting
Date: 2005-01-11 08:51:22
From: Bob DuCharme
Response to: XML formatting

It sounds like your second application, the one reading the XML, isn't an XML parser, because an XML parser wouldn't care whether that white space is there or not.


Have your first application (the one writing the xml) insert carriage returns with xsl:text elements that have a single carriage return as their content, like this:


<xsl:text>
</xsl:text>


Bob


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


Sponsored By: