Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xml 使用XSLT 2.0忽略表的renderx属性的初始头的验证异常_Xml_Xslt_Render_Xslt 2.0_Apache Fop - Fatal编程技术网

Xml 使用XSLT 2.0忽略表的renderx属性的初始头的验证异常

Xml 使用XSLT 2.0忽略表的renderx属性的初始头的验证异常,xml,xslt,render,xslt-2.0,apache-fop,Xml,Xslt,Render,Xslt 2.0,Apache Fop,我在创建XSLT以从XML数据创建PDF时遇到了一个问题。我只希望在表的分页符之后重复表标题。当我使用我安装的oXygen 19附带的FOP库运行它时,我收到: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:table": rx:table-omit-initial-header 我的命名空间声明如下(注意:使用XSLT2.0): 接收错误的行: <fo:table width="

我在创建XSLT以从XML数据创建PDF时遇到了一个问题。我只希望在表的分页符之后重复表标题。当我使用我安装的oXygen 19附带的FOP库运行它时,我收到:

org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:table": rx:table-omit-initial-header
我的命名空间声明如下(注意:使用XSLT2.0):


接收错误的行:

<fo:table width="100%" rx:table-omit-initial-header="true">
    <fo:table-column column-width="15%"/>
    <fo:table-column column-width="15%"/>
    <fo:table-column column-width="70%"/>


关于为什么不接受此属性,您有什么想法吗?

renderx扩展仅适用于(XEP)

ApacheFop不知道如何处理
rx:table省略初始标题


您需要在氧气中设置XEP转换方案。

谢谢!我没有意识到这是一个必须添加的扩展。我将研究如何将其添加到我们的开发人员工具中。
<fo:table width="100%" rx:table-omit-initial-header="true">
    <fo:table-column column-width="15%"/>
    <fo:table-column column-width="15%"/>
    <fo:table-column column-width="70%"/>