You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Michael Mutschler <mi...@mutschler.de> on 2003/08/18 20:01:31 UTC

Re[2]: getting FOP-Version

Hallo Bernd,

Monday, August 18, 2003, 7:10:20 PM, you wrote:

>> I just tried to figure out, how to obtain the current version of fop.
>>
>> There is a nice method called
>> org.apache.fop.apps.Version.getVersion(), which returns null, when you
>> call it. Not very nice.

BB> There must be something wrong with your code. I'm calling the above method
BB> from the XSLT which transforms my input XML file to XSL-FO and get the
BB> version string without problems. (fop-0.20.5)

Then you probably called it after your transformation. Try calling it
before, when FOP ist not yet used for anything else.

-- 
Best regards,
 Michael                            mailto:michael@mutschler.de


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org