Getting <img src='' alt='' width='' height=''> if i don't select any thing while entering dat

vishal
edited September 5, 2008 in Documentum #1

Getting <img src="" alt="" width="" height=""> if i don't select any thing while entering data through web publisher,

<xsl:if test="logo_image">

<div>

<xsl:attribute name="class">logo_image</xsl:attribute>

<img>

<xsl:attribute name="src"><xsl:value-of select="logo_image"/></xsl:attribute>

<xsl:attribute name="alt"><xsl:value-of select="logo_description"/></xsl:attribute>

<xsl:attribute name="width"><xsl:value-of select="logo_width"/></xsl:attribute>

<xsl:attribute name="height"><xsl:value-of select="logo_height"/></xsl:attribute>

</img>

</div>

</xsl:if>

i am using this above xsl code to get img tag, i want to make it optional can any one help me regarding this