[oXygen-user] XProc and paged media: AHFormatter complains about missing XSL Stylesheet

Frank Steimke fsteimke.hb at gmail.com
Fri Apr 14 02:33:38 CDT 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230414/20e78efe/attachment.htm>


More information about the oXygen-user mailing list