【问题标题】:DocBook XSL chunkingDocBook XSL 分块
【发布时间】:2014-01-25 15:30:41
【问题描述】:

谁能指出这个文件中控制分块的部分?

http://docbook4j.googlecode.com/svn-history/r4/trunk/docbook4j/src/main/resources/xsl/docbook/webhelp/xsl/webhelp-common.xsl

我无法将我在此文档中找到的内容与我在该文件中看到的代码联系起来:

http://www.sagehill.net/docbookxsl/Chunking.html

我想修改 XSL,使其在 而不是

处分块。

【问题讨论】:

    标签: xslt docbook chunking


    【解决方案1】:

    DocBook Webhelp 使用的主要 XSL 样式表是 webhelp.xsl。这包括 webhelp-common.xsl,并导入 xhtml chunk.xsl。分块代码包含在 chunk.xsl 和它导入的样式表中,尤其是 chunk-common.xsl。

    【讨论】:

    • 那么 xhtml chunk-common.xls 中引用 xml:id 的行是我想要修改的行吗?
    • 可能是这一行 - <xsl:for-each select="d:section|d:sect1|d:refsection|d:refsect1">
    • 谢谢,这应该让我开始。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-25
    • 1970-01-01
    相关资源
    最近更新 更多