|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: whitespace problem (was: AW: import/include and ap
On Thursday 10 May 2001 10:33, Markus Klinge wrote: > We have a problem concerning whitespace. > > The HTML output I receive looks something like this: > > <title> > a value > </title> > > How can I get rid of the whitespace here? > indent="no" and xsl:strip-space where of no help. It would help, if you would mail the part of the stylesheet that produces this. Don't let your stylesheet produce any unwanted whitespace. You can use xsl:element and xsl:text to make sure that the result contains as much whitespace as you wish. <xsl:element name="title">a value</xsl:element> or <xsl:element name="title"> <xsl:text>a value</xsl:text> </xsl:element> Whitespace between different xsl-tags won't appear in the result. -- Ingo Schildmann ingoschi@xxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








