Subject: [xsl] Preserving whitespace between elements From: matt <mfonda@xxxxxxxxxx> Date: Fri, 09 Dec 2005 13:11:03 -0800 |
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>
Thanks, -- Matthew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problems with outputing n, Michael Kay | Thread | RE: [xsl] Preserving whitespace bet, Michael Kay |
Re: [xsl] counting in for each, JBryant | Date | [xsl] Re: Default namespace in resu, Phil Endecott |
Month |