Yes it works via files :
- docbook xls stylesheets are embedded in the resources jar
- they are copied in $HOME/.ant4docbook directory to be used by an internal
or external processor (that generates files).
I understand that you prefer an 'in memory' approach for your web app.

Le sam. 29 juil. 2023 à 19:47, Paul Hoadley <[email protected]> a écrit :

> On 29 Jul 2023, at 6:28 pm, Benjamin DE DARDEL <
> [email protected]> wrote:
>
> This is an old problem that I looked into some time ago.
> I use my ant4docbook project daily to generate pdfs, from docbook, markdown 
> and docbook xsl1.xx.
> Surely there are some interesting things to take in there.
>
>
> Thanks for the suggestion. I've had a browse over the source. It seems
> like any reference to the embedded DocBook XSL is via Files, which is
> something I want to avoid. Ideally, I'd like to get this to run "out of the
> JAR". Am I missing some code in ant4docbook that would demonstrate that
> approach?
>
> The next step is to use xsltng + an html to pdf converter (chromium cef pdf?).
>
>
> For the moment, at least, I'd like to see if I can get to PDF via FO,
> which means the v1 or v2 stylesheets.
>
>
> --
> Paul Hoadley
> https://logicsquad.net/
> https://www.linkedin.com/company/logic-squad/
>
>

Reply via email to