PDI XSL 转换失败:无法编译样式表

PDI XSL transformation Failed : Failed to compile stylesheet

我想将 XML 转换为 HTML 并由 emil 发送此 html。 我正在使用 XSL 转换将 xml 传递给 html 但似乎我在 xsl 文件中遇到了一个问题 这是我的 XML 文件

<?xml version="1.0" encoding="UTF-8"?>
<Reports>
   <Report><PRODUCT>googleDFD </PRODUCT> </Report>
   <Report><PRODUCT>dm.scores_url</PRODUCT> </Report>
   <Report><PRODUCT>dm.scores_url</PRODUCT> </Report>
</Reports>

我的 xsl 文件看起来像这样

<xsl:stylesheet version="2.0"     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" encoding="UTF-8"/>
<xsl:template match="/Reports">
  <html>
    <head>
     <title>REPORTS</title>
      <style>
        table{
        width:40%;
         }
         table, th ,td{
          padding: 5px;
          text-align: left;
         }
      </style>
     </head>
  <body>
    <h1>REPORT</h1>
    <table>
      <tr bgcolor="#9acd32">
          <td>Reports</td>
      </tr>
    <td>
         <xsl:apply-templates select ="Report">
        </xsl:apply-template>
    </td> 
    </table>
 </body>
  </html>
</xsl:template>

<xsl:template match ="Report">
  <tr>
       <td><xsl:value-of select="PRODUCT"/></td>

  </tr>
 </xsl:template> 
</xsl:stylesheet>

当我 运行 将此 xml 文件转换为 html 的作业时,我遇到了这个错误 enter image description here

正确

<xsl:apply-templates select ="Report">
        </xsl:apply-template>

<xsl:apply-templates select="Report"/>