Maintains the specifications for XSL.
<xsl:template match='link'> <a> <xsl:if test="string(@xlink:type)='simple'"> <xsl:attribute name="href"> <xsl:value-of select="@xlink:href"/> </xsl:attribute> <xsl:value-of select='text()'/> </xsl:if> </a> </xsl:template>
9 of 13 |