毕竟,我的问题并不重复: 如何修复 XSLT 中的“样式表编译期间报告错误”?
问题:
我用氧气编辑器工具运行我的代码。使用 Saxon-HE 9.8.0.12 调试器引擎。
这是我的 XSLT 代码:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes" />
<xsl:include href="Global Variables.xsl" />
<xsl:include href="common/basicDataTypes/basicText.xsl" />
<xsl:include href="common/basicDataTypes/case.xsl" />
<xsl:include href="common/basicDataTypes/figure.xsl" />
<xsl:include href="common/basicDataTypes/links.xsl" />
<xsl:include href="common/basicDataTypes/list.xsl" />
<xsl:include href="common/basicDataTypes/text.xsl" />
<xsl:include href="common/basicDataTypes/wcn.xsl" />
<xsl:include href="common/dispatch/commonDispatch.xsl" />
<xsl:include href="common/limit/limit.xsl" />
<xsl:include href="common/procedure/action.xsl" />
<xsl:include href="common/procedure/condition.xsl" />
<xsl:include href="common/procedure/context.xsl" />
<xsl:include href="common/procedure/failureConsequence.xsl" />
<xsl:include href="common/procedure/nonNormalProcContent.xsl" />
<xsl:include href="DataManagement/DmStatus.xsl" />
<xsl:include href="DataManagement/Pm.xsl" />
<xsl:include href="DataManagement/PmStatus.xsl" />
<xsl:include href="Dispatch/DispatchItem.xsl" />
<xsl:include href="Dispatch/SystemFault.xsl" />
<xsl:include href="System/SystemDescription.xsl" />
<xsl:template match="/">
<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="special elements.css" />
<link rel="stylesheet" type="text/css" href="common/basicDataTypes/basicText.css" />
<link rel="stylesheet" type="text/css" href="common/basicDataTypes/list.css" />
<link rel="stylesheet" type="text/css" href="common/basicDataTypes/wcn.css" />
<link rel="stylesheet" type="text/css" href="common/dispatch/commonDispatch.css" />
<link rel="stylesheet" type="text/css" href="common/limit/limit.css" />
<link rel="stylesheet" type="text/css" href="common/procedure/context.css" />
<link rel="stylesheet" type="text/css" href="common/procedure/failureConsequence.css" />
</head>
<body>
<xsl:comment>
This is a comment!
</xsl:comment>
<xsl:apply-templates />
<hr />
</body>
</html>
</xsl:template>
</xsl:stylesheet>
当我运行代码时出现错误:“在样式表编译期间报告了错误”
问题出在哪里?