Subject: Re: dl/dt/dd matching
From: James Clark <jjc@xxxxxxxxxx>
Date: Wed, 13 Jan 1999 11:40:23 +0700
|
Francois Belanger wrote:
> How about:
>
> <xsl:template match="dl">
> <table>
> <xsl:for-each select="group(dt)">
> <tr><xsl:apply-templates/></tr>
> </xsl:for-each>
> </table>
> </xsl:template>
>
> <xsl:template match="dt|dd">
> <td>
> <xsl:apply-templates/>
> </td>
> </xsl:template>
>
> This way one can see that the tr will enclose the td.
I agree this looks more intuitive, but what exactly are the semantics
that you have in mind?
James
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|