{"id":1373,"date":"2023-02-08T20:06:59","date_gmt":"2023-02-08T12:06:59","guid":{"rendered":"https:\/\/blog.iotot.com\/?p=1373"},"modified":"2023-02-08T20:06:59","modified_gmt":"2023-02-08T12:06:59","slug":"docbook-xsl-stylesheets-with-apache-fop%e6%98%af%e4%bb%80%e4%b9%88%e6%8a%80%e6%9c%af%e8%b7%af%e7%ba%bf","status":"publish","type":"post","link":"https:\/\/blog.iotot.com\/?p=1373","title":{"rendered":"DocBook XSL Stylesheets with Apache FOP\u662f\u4ec0\u4e48\u6280\u672f\u8def\u7ebf"},"content":{"rendered":"<p>DocBook XSL Stylesheets with Apache FOP \u662f\u4e00\u79cd\u5c06 DocBook XML \u6587\u6863\u8f6c\u6362\u4e3a PDF\uff08\u53ef\u79fb\u690d\u6587\u6863\u683c\u5f0f\uff09\u6587\u6863\u7684\u6280\u672f\u7ba1\u9053\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u7ba1\u9053\u4e2d\u6bcf\u4e2a\u7ec4\u4ef6\u7684\u7b80\u8981\u8bf4\u660e\uff1a<\/p>\n<p>DocBook\uff1a\u5b83\u662f\u4e00\u79cd\u57fa\u4e8e XML \u7684\u6807\u8bb0\u8bed\u8a00\uff0c\u7528\u4e8e\u7f16\u5199\u6280\u672f\u6587\u6863\uff0c\u5305\u62ec\u4e66\u7c4d\u3001\u6587\u7ae0\u548c\u624b\u518c\u3002<\/p>\n<p>XSL Stylesheets\uff1aXSL\uff08\u53ef\u6269\u5c55\u6837\u5f0f\u8868\u8bed\u8a00\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u5c06 XML \u6587\u6863\u8f6c\u6362\u4e3a\u5176\u4ed6\u683c\u5f0f\uff08\u5982 HTML\u3001PDF \u6216 RTF\uff09\u7684\u8bed\u8a00\u3002DocBook \u63d0\u4f9b\u4e86\u4e00\u7ec4 XSL \u6837\u5f0f\u8868\uff0c\u53ef\u7528\u4e8e\u5c06 DocBook XML \u8f6c\u6362\u4e3a\u4e0d\u540c\u683c\u5f0f\uff0c\u5305\u62ec PDF\u3002<\/p>\n<p>Apache FOP\uff1aApache FOP\uff08Formatting Objects Processor\uff0c\u683c\u5f0f\u5316\u5bf9\u8c61\u5904\u7406\u5668\uff09\u662f\u4e00\u79cd\u57fa\u4e8e\u5f00\u6e90 Java \u7684\u8f6f\u4ef6\uff0c\u53ef\u7528\u4e8e\u5c06 XSL-FO\uff08\u53ef\u6269\u5c55\u6837\u5f0f\u8868\u8bed\u8a00\u683c\u5f0f\u5316\u5bf9\u8c61\uff09\u8f6c\u6362\u4e3a PDF\u3002DocBook \u7684 XSL \u6837\u5f0f\u8868\u65e8\u5728\u4e0e Apache FOP \u4e00\u8d77\u4f7f\u7528\uff0c\u4ee5\u4fbf\u53ef\u4ee5\u5c06 DocBook XML \u8f6c\u6362\u4e3a PDF \u6587\u6863\u3002<\/p>\n<p>\u901a\u8fc7\u4f7f\u7528\u6b64\u6280\u672f\u7ba1\u9053\uff0c\u4f5c\u8005\u53ef\u4ee5\u4f7f\u7528 DocBook XML \u7f16\u5199\u6280\u672f\u6587\u6863\uff0c\u7136\u540e\u4f7f\u7528 XSL \u6837\u5f0f\u8868\u548c Apache FOP \u8f6c\u6362\u4e3a\u9ad8\u8d28\u91cf\u3001\u4e13\u4e1a\u5916\u89c2\u7684 PDF \u6587\u6863\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DocBook XSL Stylesheets with Apache FOP \u662f\u4e00\u79cd\u5c06 DocBook XM [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/1373"}],"collection":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1373"}],"version-history":[{"count":1,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/1373\/revisions"}],"predecessor-version":[{"id":1374,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/1373\/revisions\/1374"}],"wp:attachment":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}