This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: [XSLTalk] Not able to work up with <DIV> tag
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] [XSLTalk] Not able to work up with <DIV> tag
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 19 Dec 2000 12:48:39 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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