|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: monotonous nbsp coding
One other thing: if you might ever have any mixed content (i.e. more
elements mixed in) in table cells, you would want:
<xsl:template name="fillcell"> <xsl:apply-templates/> <xsl:if test="not(string())"> </xsl:if> </xsl:template> <xsl:template match="cell">
<td>
<xsl:call-template name="fillcell"/>
</td>
</xsl:template>Note the named template now instructs that applying of templates continue.... Cheers, W At 05:45 PM 11/13/2002, I wrote: Both the earlier suggestions are good....
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








