Helpful Information
Category: Programming Languages More
XML attributes

How do I output attributes in a xml tag.

<headline href=""> Whatever </headline>

I can output the Whatever text in the browser, but I don't know how to ouput the href attribute. I am using xsl in IE 5.0 browser.

Everything has to have an xsl attribute defined...

<xsl:attribute name="href">
<xsl:value-of select="@URL" />
<img border="0">
<xsl:attribute name="src"><xsl:value-of select="@IMAGE_SRC" />.gif</xsl:attribute>

Hope this helps :-)