|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: [XSLTalk] Not able to work up with <DIV> tag
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








