XProc and paged media: AHFormatter complains about missing XSL Stylesheet

Dear List, with the help from this list (Thanks Tony!) i was able to build a XProc Transformation Scenario, running in Oxygen, which converts DocBook to PDF via XSL-FO and the p:xsl-formatter step. Now i'd like to do the same with CSS (paged media). Using the xslTNG Stylesheets (recent Version 2.1.2) i get an HTML Document. The Antenna House Formatter (version 7.2) reads it without anly problems and produces PDF as expected when called as a standalone app with GUI. It does not work, however, when called as a step within the XProc Pipeline. The essential Part is like this: ``` <p:xslt> <p:input port="stylesheet"> <p:document href="xsltng/docbook-xslTNG-2.1.2/xslt/print.xsl"/> </p:input> <p:input port="parameters"> <p:empty/> </p:input> </p:xslt> <p:xsl-formatter href="tdd.pdf" content-type="application/pdf"/> ``` This throws an exception: jp.co.antenna.XfoJavaCtl.XfoException: No XSL Stylesheet is specified. Two questions arise: - Which XSL Stylesheet is missing? No transformation on the input document is necessary. - How would I specify a stylesheet? The p:xsl-formatter Step from XProc 1.0 hs no input port for a stylesheet. Thanks in advance, Frank Steimke

On 14/04/2023 08:33, Frank Steimke wrote: ...
Now i'd like to do the same with CSS (paged media). Using the xslTNG Stylesheets (recent Version 2.1.2) i get an HTML Document. The Antenna House Formatter (version 7.2) reads it without anly problems and produces PDF as expected when called as a standalone app with GUI.
It does not work, however, when called as a step within the XProc Pipeline. The essential Part is like this:
XML Calabash has a separate extension step for CSS formatting that supports Antenna House Formatter: https://xmlcalabash.com/docs/reference/cx-css-formatter.html Regards, Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tgraham@antenna.co.jp
participants (2)
-
Frank Steimke
-
Tony Graham