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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Looking for Reply ....>>>>A C, Sachidanandam E.K | Thread | Re: [xsl] [XSLTalk] Not able to wor, Sachidanandam E.K |
[xsl] How to obtain the tag name?, Derek Ngok | Date | RE: [xsl] How to obtain the tag nam, Kay Michael |
Month |