Re: FO->Area as XSLT extension function

On 03/18/2013 07:18 PM, Tony Graham wrote:
> On Sun, March 17, 2013 1:56 am, Arved Sandstrom wrote:
>> Ok, I've got product, just not sure how to best disseminate. So I've
>> attached stuff. I suspect that my NetBeans project I'll want to get into
>> Mercurial or whatever it was that we set up.
> Running with the FOP 1.0 that comes with Xubuntu 12.4.1, I fail with:
>
> ./runxalan-tkg.sh example1.xml example1fo.xsl tmp.xml
> (Location of error unknown)java.lang.NoSuchMethodError:
> org.apache.fop.apps.FopFactory.newInstance(Ljava/io/File;)Lorg/apache/fop/apps/FopFactory;
>
> That method doesn't show in the accompanying Javadocs.
>
> The command line that I'm using is:
>
> ./runxalan-tkg.sh example1.xml example1fo.xsl tmp.xml
>
> where 'runxalan-tkg.sh' is a copy of your 'runxalan.sh' with paths
> modified to suit my system.
>
> Regards,
>
>
> Tony.
Attached is a modified extension for FOP 1.0. Also a run script that 
indicates the use of FOP 1.0 included JARs.

Also, for FOP 1.0 this version of extension does not specify a FOP 
config file, so it's called like

<xsl:value-of select="runfop:RunFOP.areaTreeUrl($foTree, 'example1.if')"/>

Arved

Received on Tuesday, 19 March 2013 23:55:38 UTC