こんにちはすべて 私はxslt 1.0を使用しています。対応する文字として表示する必要があるFOA7という文字コードがあります。はxsltにcharを表示する必要があります
...'A decimal representation must immediately follow the "&#" in a character reference.'
事前にthis..Thanksを固定して私を助けてください:私の入力は私のXSLTテンプレートは、それはエラーとしてエラーを示す
<xsl:template match="w:sym">
<xsl:variable name="char" select="@w:char"/>
<span font-family="{@w:fonts}">
<xsl:value-of select="concat('&#x',$char,';')"/>
</span>
</xsl:template>
ある
<w:sym w:font="Wingdings" w:char="F0A7"/>
です
私の答え、どうやって__can__、そして@Eamon Nerbonneの答えを参照してください、どうしてあなたはそれをまったく__shouldn't__しますか? – Flack