[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Indentation question
Hi,
Tempore 09:06:47, die 09/02/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit knocte <knocte@xxxxxxxxx>: Sometimes when I deal with XSLT, if I use this indent method: Because your xslt snippet contains non-whitespace-only text nodes with line-breaks, which are copied in an unaffected matter (whitespaces preserved) to the result tree. To avoid this, change <xsl:when test="LoginName"> 1 </xsl:when> to <xsl:when test="LoginName">1</xsl:when> or to <xsl:when test="LoginName"> <xsl:text>1</xsl:text> </xsl:when>
|
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
|