Re: Include XSL-FO stored in DB
Adam Retter <[email protected]>
| Newsgroups | gmane.text.xml.fop.user |
|---|---|
| Message-ID | <CAPK0ichrw1ZteviNCx0jTAYTCDeGa=Q_rjNzYRyME_-3hXcnzw@mail.gmail.com> |
I think you might just need to setup a javax.xml.transform.URIResolver correctly for the XSLT processor. On 15 March 2016 at 05:03, Bram Maes <[email protected]> wrote: > Hi, > > In a service application I am generating XSL-FO's in the DB. Translations > are also stored in the database and replaced via groovy templating. > > I was wondering if it is possible to reuse some functions that one would > normally store in a seperate xsl file and include via an import. Is there > any way to add functions to the fop 'context' so they would be available for > transformations and still be reusable for other xsl's as well (as these > generic function stylesheets would be stored in the DB as well)? > > Thanks for your thoughts, > Kind regards, > Bram. -- Adam Retter skype: adam.retter tweet: adamretter http://www.adamretter.org.uk