RE: [xsl] [XSLTalk] Not able to work up with <DIV> tag

Subject: RE: [xsl] [XSLTalk] Not able to work up with <DIV> tag
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 19 Dec 2000 12:48:39 -0000
> I think you can do the following :
> 
> <xsl:for-each select="toppFolderOut">
>   <xsl:element name="div">
>     <xsl:attribute name="CLASS">topFolderOut</xsl:attribute>
>     <xsl:attribute name="ID">Metrics</xsl:attribute>
>     <xsl:attribute name="topfolid"><xsl:value-of
> select="@id"/></xsl:attribute>
>   </xsl:element>
> </xsl:for-each>
> 
> Is that the right way to do it ??

It is one right way to do it, but I'm lazy:

<xsl:for-each select="toppFolderOut">
  <div CLASS="topFolderOut" ID="Metrics" topfolid="{@id}"/>
</xsl:for-each>

Mike Kay

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


Current Thread