Re: stylesheet woes

Subject: Re: stylesheet woes
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Tue, 05 Oct 1999 09:44:20 +0200
> I'm simply trying to convert this into an HTML table, with each <hw/>
> and <def/> in its own successive row. I'm using a call like this:
> 
>         <xsl:template match="words">
>                         <TABLE>
>                                 <xsl:apply-templates
> select="./*/hw|./*/def"/>
>                         </TABLE>
>         </xsl:template>

Hi,

A for-each loop should be faster than your match and apply-templates
constructs.

Eric

-- 
------------------------------------------------------------------------
Eric van der Vlist                                              Dyomedea

http://www.dyomedea.com                          http://www.ducotede.com
------------------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread