Subject: how to strip white space in text node? From: Honglin Su <hosu@xxxxxxxxxxx> Date: Thu, 09 Sep 1999 23:51:43 -0400 |
Hi, there, The following xsl doesn't strip white space in text element, is there any way to do it? Thank you! Honglin ps: <?xml version="1.0" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> <xsl:strip-space elements="*|text()"/> <xsl:template match="*|@*|text()"> <xsl:copy> <xsl:apply-templates select="*|@*|text()" /> </xsl:copy> </xsl:template> </xsl:stylesheet> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Large # of XSL examples, Earl Bingham | Thread | RE: how to strip white space in tex, Mike Brown |
Large # of XSL examples, Earl Bingham | Date | While and for loops in XSLT, Miloslav Nic |
Month |