{"id":12025,"date":"2020-09-15T14:57:48","date_gmt":"2020-09-15T05:57:48","guid":{"rendered":"https:\/\/blog.antenna.co.jp\/ILSoft2\/?p=12025"},"modified":"2020-09-15T14:57:48","modified_gmt":"2020-09-15T05:57:48","slug":"xproc%e3%81%ae%e7%b4%b9%e4%bb%8b","status":"publish","type":"post","link":"https:\/\/blog.antenna.co.jp\/ILSoft2\/archives\/12025\/","title":{"rendered":"XProc\u306e\u7d39\u4ecb"},"content":{"rendered":"<p>\u300c<code>make<\/code>\u304c\u826f\u3044\u3001\u60aa\u3044\u300d\u3068\u3044\u3046\u8a71\u304c\u4e00\u90e8\u3067\u76db\u308a\u4e0a\u304c\u3063\u3066\u3044\u308b\u306e\u3092\u898b\u307e\u3057\u305f\u3002<br \/>\n\u7d50\u5c40\u30c4\u30fc\u30eb\u306a\u306e\u3067\u3001\u300c\u7528\u9014\u306b\u5411\u3044\u3066\u3044\u306a\u304f\u3066\u3082\u6163\u308c\u306a\u3069\u3092\u53d6\u308b\u300d\u304b\u300c\u5b66\u7fd2\u304c\u5fc5\u8981\u3067\u3082\u5225\u306e\u3082\u306e\u3092\u4f7f\u3046\u4fa1\u5024\u304c\u898b\u5408\u3046\u300d\u304b\u3068\u3044\u3063\u305f\u3001\u72b6\u6cc1\u306b\u5408\u308f\u305b\u305f\u9078\u629e\u304c\u5fc5\u8981\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002\u500b\u4eba\u7684\u306b\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u7d76\u5bfe\u30d1\u30b9\u3092\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3059\u308b\u306e\u306f\u53ef\u80fd\u306a\u9650\u308a\u907f\u3051\u3066\u307b\u3057\u3044\u3067\u3059\u304c\u3002<\/p>\n<p>\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u306b\u3082\u69d8\u3005\u306a\u5f97\u624b\u4e0d\u5f97\u624b\u304c\u3042\u308b\u3082\u306e\u3067\u3059\u304c\u3001XML\u306b\u7279\u5316\u3057\u305f\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u3093\u306a\u5c0e\u5165\u3067\u3001XProc\u306e\u8a71\u984c\u3067\u3059\u3002<\/p>\n<p>XProc: An XML Pipeline Language\u306fXML\u6587\u66f8\u3084\u305d\u306e\u4ed6\u306e\u51e6\u7406\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e\u8a00\u8a9e\u3067\u3059<sup>*1<\/sup>\u3002<br \/>\nW3C\u306e\u30da\u30fc\u30b8\u306eAbstract\u306b\u306f\u201cPipelines generally accept zero or more XML documents as input and produce zero or more XML documents as output.\u201d\u3068\u3042\u308a\u307e\u3059\u3002\u30b9\u30c6\u30c3\u30d7\u51e6\u7406\u3068\u3057\u3066\u8a18\u8ff0\u304c\u3067\u304d\u308b\u3001\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u306b\u3064\u3044\u3066\u3082\u3042\u308b\u7a0b\u5ea6\u306f\u3067\u304d\u308b\u306a\u3069\u4ed6\u306b\u3082\u3042\u308a\u307e\u3059\u304c\u3001XSLT\u3068\u306f\u76ee\u7684\u3082\u66f8\u304d\u5473\u3082\u7d50\u69cb\u9055\u3044\u307e\u3059\u3002<\/p>\n<p>2010\u5e74\u306b1.0\u304cW3C\u4ed5\u69d8\u3068\u3057\u3066\u52e7\u544a\u3055\u308c\u305f\u5f8c\u3001\u52e7\u544a\u3068\u3057\u3066\u306f\u305d\u308c\u304c\u6700\u65b0\u306e\u72b6\u614b\u304c\u307e\u3060\u7d9a\u3044\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u30012020\u5e748\u670819\u65e5\u306bXProc 3.0\u306e\u6700\u7d42\u30c9\u30e9\u30d5\u30c8\u304c\u4e0a\u304c\u3063\u3066\u304a\u308a<sup>*2<\/sup>\u3001\u671f\u5f85\u304c\u6301\u3066\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002Editor&#8217;s Draft\u306f8\u670831\u65e5\u306b\u66f4\u306b\u66f4\u65b0\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3002\u3061\u306a\u307f\u306b2.0\u306f\u8af8\u822c\u306e\u4e8b\u60c5\u3067\u898b\u9001\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001XMLPress\u304b\u30892020\u5e744\u6708\u306b\u300eXProc 3.0 Programmer Reference\u300f\uff08Erik Siegel\uff09<sup>*3<\/sup>\u304c\u520a\u884c\u3055\u308c\u3066\u3044\u307e\u3059\u3002W3C\u306eXProc\u4ed5\u69d8\u306eEditor\u3067\u3042\u308bNorman Tovey-Walsh\u6c0f\u306b\u3088\u308b\u63a8\u85a6\u6587\u3082\u3064\u3044\u3066\u3044\u307e\u3059\u3057\u3001Erik Siegel\u6c0f\u3082 XProc 3.0 editorial team\u306e\u30e1\u30f3\u30d0\u30fc\u3067\u3059\u3002<br \/>\nXProc 3.0\u306b\u3064\u3044\u3066\u306f\u30c9\u30e9\u30d5\u30c8\u7248\u4ed5\u69d8\u3068\u3053\u306e\u672c\u3092\u8aad\u3080\u306e\u304c\u78ba\u5b9f\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>XProc 3.0\u3067\u306e\u3082\u3063\u3068\u3082\u5927\u304d\u306a\u6539\u826f\u70b9\u306fXSLT\u540c\u69d8\u306bXPath 3.1\u306b\u5bfe\u5fdc\u3057\u305f\u3053\u3068\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306fXProc\u306e\u96f0\u56f2\u6c17\u3060\u3051\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<pre><code>\n&lt;!--\u00a01.\u00a0Pipeline\u00a0document:\u00a0--&gt;\n&lt;p:declare-step\u00a0xmlns:p=\"http:\/\/www.w3.org\/ns\/xproc\"\n\u00a0\u00a0xmlns:xs=\"http:\/\/www.w3.org\/2001\/XMLSchema\"\u00a0version=\"3.0\"&gt;\n\n\u00a0\u00a0&lt;!--\u00a02.\u00a0Pipeline\u00a0port\u00a0declarations:\u00a0--&gt;\n\u00a0\u00a0&lt;p:input\u00a0port=\"source\"\u00a0primary=\"true\"\u00a0\/&gt;\n\u00a0\u00a0&lt;p:output\u00a0port=\"result\"\u00a0primary=\"true\"\u00a0\/&gt;\n\u00a0\u00a0&lt;!--\u00a03.\u00a0Convert\u00a0document\u00a0to\u00a0HTML:\u00a0--&gt;\n\u00a0\u00a0&lt;p:xslt&gt;\n\u00a0\u00a0\u00a0\u00a0&lt;p:with-input\u00a0port=\"stylesheet\"\u00a0href=\"xsl\/basic-conversion.xsl\"\u00a0\/&gt;\n\u00a0\u00a0&lt;\/p:xslt&gt;\n&lt;\/p:declare-step&gt;<\/code><\/pre>\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u306f\u300eXProc 3.0 Programmers Reference\u300f<sup>*3<\/sup>\u300cGetting started with XProc\u300d\u306b\u3042\u308b\u4f8b\u3067\u3059\u3002<br \/>\n<code>&lt;p:declare-step&gt;<\/code>\u304c\u30eb\u30fc\u30c8\u8981\u7d20\u3067\u3059\u3002input\u3084output\u3092\u7701\u7565\u3067\u304d\u308b<code>&lt;p:pipeline&gt;<\/code>\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u304c\u3001<br \/>\n2\u884c\u7a0b\u5ea6\u3067\u306f\u5927\u3057\u3066\u52b4\u529b\u306f\u5909\u308f\u3089\u306a\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>XMLSchema\u306e\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u304c\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308b\u306e\u306f\u3001XSLT\u540c\u69d8<code>as<\/code>\u3067\u578b\u3092\u660e\u793a\u3067\u304d\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u66f8\u304b\u308c\u305f\u51e6\u7406\u3092\u7c21\u5358\u306b\u66f8\u3051\u3070\u3001\u300c\u5165\u529b\u3092xsl\/basic-conversion.xsl\u306eXSLT\u3067\u51e6\u7406\u3057\u3001\u51fa\u529b\u3078\u6e21\u3059\u300d\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u30d7\u30ed\u30d1\u30c6\u30a3<code>port<\/code>\u306e\u5b58\u5728\u304c\u3042\u308a\u307e\u3059\u306d\u3002\u305d\u308c\u305e\u308c\u306e\u6307\u5b9a\u3067\u60f3\u50cf\u304c\u4ed8\u304f\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001input\u306b\u3088\u308b\u5165\u529b\u3092\u51e6\u7406\u5bfe\u8c61\uff08source\uff09\u3068\u3044\u3046port\u306b\u3064\u306a\u304e\u3001with-input\u306b\u3088\u308b\u5165\u529b\u306f\uff08XSLT\uff09\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3068\u3044\u3046port\u306b\u3064\u306a\u304e\u3001\u3053\u306e\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u306b\u3088\u3063\u3066source\u3092\u51e6\u7406\u3057\u307e\u3059\u3002\u305d\u3057\u3066result\u3068\u3044\u3046port\u306b\u3064\u306a\u304c\u3063\u305f\u51fa\u529b\u3078\u7d50\u679c\u3092\u6e21\u3059\u3001\u3068\u3044\u3046\u6d41\u308c\u3067\u3059\u3002\u3053\u3046\u66f8\u304f\u3068\u540c\u8a9e\u53cd\u5fa9\u3092\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u611f\u3058\u3089\u308c\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u305e\u308c\u306eport\u306b\u304d\u305f\u3082\u306e\u3092\u30b9\u30c6\u30c3\u30d7\u51e6\u7406\u3057\u3066\u3044\u304f\u6d41\u308c\u304c\u76f4\u89b3\u306b\u8fd1\u3044\u8a18\u8ff0\u3067\u66f8\u3051\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u4ed6\u306eport\u3068\u3057\u3066\u306f\u3001\u30b9\u30ad\u30fc\u30de\u306e\u691c\u8a3c\u306e\u30b9\u30ad\u30fc\u30de\u3092\u6e21\u3059\u305f\u3081\u306eschema\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<code>&lt;p:xslt&gt;<\/code>\u3084<code>&lt;p:validate-with-xml-schema&gt;<\/code>\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306estep\u3067\u3059\u3002port\u306f\u6c7a\u307e\u3063\u305fstep\u3068\u7d50\u3073\u3064\u3044\u3066\u3044\u3066\u3001port\u306b\u6e21\u3057\u305f\u3082\u306e\u306f\u7d50\u3073\u3064\u3044\u305fstep\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u305d\u306estep\u3067\u51e6\u7406\u3055\u308c\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306estep\u3068port\u3001\u305d\u3057\u3066\u72ec\u81ea\u306estep\u3068\u7d50\u3073\u3064\u3044\u305f\u72ec\u81ea\u306eport\u3092\u8a18\u8ff0\u3057\u3066\u3044\u304f\u3053\u3068\u304cXProc\u306e\u57fa\u672c\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>*1 <a href=\"https:\/\/www.w3.org\/TR\/xproc\/\">https:\/\/www.w3.org\/TR\/xproc\/<\/a><br \/>\n*2 <a href=\"https:\/\/spec.xproc.org\/lastcall-2020-08\/head\/xproc\/\">https:\/\/spec.xproc.org\/lastcall-2020-08\/head\/xproc\/<\/a><br \/>\n*3 <a href=\"https:\/\/xmlpress.net\/publications\/xproc-3-0\/\">https:\/\/xmlpress.net\/publications\/xproc-3-0\/<\/a><\/p>\n<hr \/>\n<div><a href=\"https:\/\/www.antenna.co.jp\/dita\/\"><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.antenna.co.jp\/dita\/img\/dita_logo.png\" \/><\/a><br \/>\n<a href=\"https:\/\/www.antenna.co.jp\/AHF\/\"><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.antenna.co.jp\/AHF\/ahf_img\/v7logo.png\" \/><br \/>XSL-FO\uff0fCSS\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u306b\u3088\u308a\u3001XML\u3068HTML\u3092\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u9ad8\u901f\u306bPDF\u306b\u5909\u63db\uff01<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u300cmake\u304c\u826f\u3044\u3001\u60aa\u3044\u300d\u3068\u3044\u3046\u8a71\u304c\u4e00\u90e8\u3067\u76db\u308a\u4e0a\u304c\u3063\u3066\u3044\u308b\u306e\u3092\u898b\u307e\u3057\u305f\u3002 \u7d50\u5c40\u30c4\u30fc\u30eb\u306a\u306e\u3067\u3001\u300c\u7528\u9014\u306b\u5411\u3044\u3066\u3044\u306a\u304f\u3066\u3082\u6163\u308c\u306a\u3069\u3092\u53d6\u308b\u300d\u304b\u300c\u5b66\u7fd2\u304c\u5fc5\u8981\u3067\u3082\u5225\u306e\u3082\u306e\u3092\u4f7f\u3046\u4fa1\u5024\u304c\u898b\u5408\u3046\u300d\u304b\u3068\u3044\u3063\u305f\u3001\u72b6\u6cc1\u306b\u5408\u308f\u305b\u305f\u9078\u629e\u304c\u5fc5\u8981\u306b\u306a\u308b\u3067 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,16],"tags":[254,258,259,263],"class_list":["post-12025","post","type-post","status-publish","format-standard","hentry","category-xml-dita","category-structured-doc","tag-xml","tag-xpath","tag-xproc","tag-xslt"],"_links":{"self":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/12025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/comments?post=12025"}],"version-history":[{"count":0,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/12025\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/media?parent=12025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/categories?post=12025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/tags?post=12025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}