You may be better off asking XSLT related questions on other mailing lists as
this is not a FOP issue as such.

According to http://www.exslt.org/dyn/functions/evaluate/index.html
dyn:evaluate is supported by XALAN-J. I suggest you look on the exslt or
xalan-j mailinglists/forums.

Manuel


KrisKom wrote:
> 
> I just downloaded newer version of xalan-j (2.7.1), replaced the
> xalan_2_7_0 with this one, but
> got the same result..
> 
> Well, looks like the only option at this point is to use xsltproc to
> generate .fo, and then use fop
> to generate pdf. The problem with this approach is that I need to generate
> around 50+ complex
> reports from a single large XML output file at the end of a run (a C++
> application), and now I'd
> end up creating 50+ .fo files in addition to the pdfs.
> 
> Krishna
> 
> 
> KrisKom wrote:
>> 
>> 'system-property()' for xsl:vendor: Apache Software Foundation, and
>> vendor-url: http://xml.apache.org/xalan-j
>> 
>> JRE on my machine (Windows XP/Cygwin): 1.6.0_15
>> 
>> I've used '--execdebug' flag when starting fop to print out the actual
>> command
>> being executed, nothing unusual about it: classpath doesn't contain any
>> weird
>> stuff i.e. everything there belongs to jar files under $FOP_HOME dir
>> (fop version
>> 0.95, which I've downloaded recently, about a month ago).
>> 
>> The jar file for xalan is xalan-2.7.0.jar (so don't know if a newer
>> version of this jar
>> is available).
>> 
>> All the jar files that are listed in the fop's classpath (generated by
>> fop script)
>> are:
>> ics-commons-1.3.1.jar
>> fop-0.95/lib/xml-apis-ext-1.3.04.jar
>> fop-0.95/lib/xml-apis-1.3.04.jar
>> fop-0.95/lib/xercesImpl-2.7.1.jar
>> fop-0.95/lib/xalan-2.7.0.jar
>> fop-0.95/lib/serializer-2.7.0.jar
>> fop-0.95/lib/commons-logging-1.0.4.jar
>> fop-0.95/lib/commons-io-1.3.1.jar
>> fop-0.95/lib/batik-all-1.7.jar
>> fop-0.95/lib/avalon-framework-4.2.0.jar
>> fop-0.95/build/fop.jar
>> fop-0.95/build/fop-sandbox.jar
>> fop-0.95/build/fop-hyph.jar"
>> 
>> 
>> 
>> On Mon, Oct 5, 2009 at 4:00 PM, J.Pietschmann <[email protected]> wrote:
>>> On 03.10.2009 21:30, KrisKom wrote:
>>> [snip]
>>>>
>> ...
>>>> My xsl stylesheet works as expected if I run it through a pro-processor
>>>> (xsltproc) to generate
>>>> .fo, and then use fop to convert this .fo into a pdf. But, when I use
>>>> fop
>>>> directly (i.e. single step: fop -xml
>>>> blah.xml -xsl blah.xsl -pdf out.pdf), I'm getting weird results
>> ...
>>>
>>> FOP uses the default XSLT processor from your Java installation.
>>> Chances are, it doesn't recognize certain EXSLT constructs.
>>>
>>> You can try to use the XSLT function system-property() to check
>>> what kind of processor is used, e.g.
>>>  <xsl:value-of select="system-property('xsl:vendor')"/>
>>> should give you a hint, looking up other, vendor specific properties
>>> might get you further.
>>> You can use other Java based XSLT processors with FOP, simply get the
>>> necessary jar files, add them to the CLASSPATH, and set the java system
>>> property javax.xml.transform.TransformerFactory to the processor's
>>> transformer factory class.
>>>
>>> J.Pietschmann
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/fop%3A-problem-with-dyn%3Aevaluate-tp25731998p25783767.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to