Re: [xsl] monotonous nbsp coding

Subject: Re: [xsl] monotonous nbsp coding
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 13 Nov 2002 18:11:34 -0500
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:if test="not(string())">&#160;</xsl:if>

<xsl:template match="cell">
    <xsl:call-template name="fillcell"/>

Note the named template now instructs that applying of templates continue....


At 05:45 PM 11/13/2002, I wrote:
Both the earlier suggestions are good....

====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

XSL-List info and archive:

Current Thread