开发者

Is it possible to set a custom XLST file for the docbkx-maven-plugin?

It seems that Docbook Maven Plugin is using its own XSLT transformation. Is it possible to force my own 开发者_如何学编程transformation to it?


The customizations docbkx provides is same as docbook. I guess you just want to have your own customization layer that imports the docbook xsls.

This is of course possible. See http://blog.kasunbg.org/2010/12/how-to-use-docbkx-tools-as-maven.html

It provides a detailed guide on how to use docbkx-maven-plugin with your own customization layer.

Here's the configuration      

<configuration>
      <foCustomization>src/docbkx/xsl/fo.xsl</foCustomization>
      <xhtmlCustomization>src/docbkx/xsl/xhtml.xsl </xhtmlCustomization>
</configuration>              


Additionally if you want to customize webhelp output you would use the following configuration element

<configuration>
  <webhelpCustomization>src/docbkx/xsl/webhelp.xsl</webhelpCustomization>

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜