4

xslt 変換を使用して xml から html を作成する必要があります。結果のhtmlアンカータグが必要です

<a>
<xsl:attribute name="href">
<xsl:value-of select="Google-Link" />
</xsl:attribute>
</a>

出力 html には、href 属性値が二重引用符で囲まれて <a href="http://google.com">google</a> いますが、単一引用符で囲みます。 <a href='http://google.com'>google</a>

4

1 に答える 1