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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: dl/dt/dd matching, Francois Belanger | Thread | Re: dl/dt/dd matching, David Rosenborg |
Re: GOTCHA!, James Clark | Date | Re: Comments and entities was:, James Clark |
Month |