プログラムを実行しようとすると「Failed to compile stlyesheet」というエラーが表示される理由がわかりません。スタイルシートのエラーだと思いますが、見つからないようです。
私はおそらくそれを見ているだけですが、どんな助けでも大歓迎です。
ありがとうございました!xsl は以下にあります。
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<PhoneBook>
<xsl:apply-templates/>
</PhoneBook>
</xsl:template>
<xsl:template match="AddressEntry">
<Entry>
<xsl:apply-templates select="Name"/>
<xsl:apply-templates select="Address"/>
</Entry>
</xsl:template>
<xsl:template match="Name">
<Name>
<xsl:apply-templates select="LastName"/>,
<xsl:apply-templates select="FirstName"/>
</Name>
</xsl:template>
<xsl:template match="Address">
<LocatorInfo>
<xsl:apply-templates select="PostalAddress/Street"/>
<xsl:apply-templates select="PostalAddress/City"/>
<xsl:apply-templates select="PostalAddress/PostalCode"/>
<xsl:apply-templates select="Phone"/>
</LocatorInfo>
</xsl:template>
<xsl:template match="FirstName">
<xsl:value-of select="."/>
<xsl:value-of select="."/>
</xsl:template>
<xsl:template match="LastName">
<xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>