[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Preserving whitespace between elements
Hello,
I am having a problem with whitepsace getting stripped. Take the following example: xsl stylesheet: <xsl:template match="div|p|b|u|i"> <xsl:copy><xsl:apply-templates/></xsl:copy> </xsl:template> xml: <div><p>here is some <b>bold</b> and <i>italic</i> text</p></div> My expected output was: <div><p>here is some <b>bold</b> and <i>italic</i> text</p></div> However, the space is getting stripped, so the actual output is: <div><p>here is some <b>bold</b>and<i>italic</i>text</p></div> Any suggestions on how to prevent this? Thanks, -- Matthew
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|