[Home] [By Thread] [By Date] [Recent Entries]
Hi, Guys:
Thanks for helping out with the tip, and now it does print out the proper node as it should be. It also shows the original preset image. However, when I scroll over the mouse, its arrows point up but does not display the image. This is my modified code: <xsl:template match="graphic"> <a> <xsl:attribute name="href">#</xsl:attribute> <xsl:attribute name="onmouseout">MM_swapImgRestore()</xsl:attribute> <xsl:attribute name="onmouseover">MM_swapImage('Image1','','<xsl:value-of select="./@url"/>',1)"</xsl:attribute> <img> <xsl:attribute name="src">BG008.jpg</xsl:attribute> <xsl:attribute name="alt"> <xsl:value-of select="./@alt"/> </xsl:attribute> <xsl:attribute name="id"> <xsl:value-of select="./@id"/> </xsl:attribute> <xsl:attribute name="width">150</xsl:attribute> <xsl:attribute name="height">113</xsl:attribute> <xsl:attribute name="border">0</xsl:attribute> <xsl:attribute name="name">Image 1</xsl:attribute> </img> </a> <xsl:call-template name="id"/>
<xsl:call-template name="rend"/>
<xsl:attribute name="alt">
<xsl:choose>
<xsl:when test="../figDesc">
<xsl:value-of select="../figDesc/text()"/>
</xsl:when> <xsl:otherwise>
<xsl:value-of select="'graphic'"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute></xsl:template> Does anyone know if template values do conflict with the javascript in XML? Thanks to those who can help. A Newbie. Quoting Steve <subsume@xxxxxxxxx>: Hey there,
|

Cart



