相关疑难解决方法(0)

错误:不允许匹配"[xX] [mM] [lL]"的处理指令目标

每当我运行一个以如下开头的XSLT页面时,就会出现标题中的错误:

<?xml version="1.0" encoding="windows-1256"?> 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:include href="../header.xsl"/>
  <xsl:template match="/">
    <xsl:call-template name="pstyle"/>
    <xsl:call-template name="Validation"/>
    <xsl:variable name="strLang">
      <xsl:value-of select="//lang"/>
    </xsl:variable>
    <!-- ////////////// Page Title ///////////// -->
    <title>
        <xsl:value-of select="//ListStudentFinishedExam.Title"/>
    </title>
Run Code Online (Sandbox Code Playgroud)

注意:我在第一行之前删除了任何前导空格,但错误仍然存​​在!

java xml xslt

176
推荐指数
4
解决办法
18万
查看次数

标签 统计

java ×1

xml ×1

xslt ×1