Hi,
This is xsl question? How can I test if a file exist on disk through xsl? It
throws out this message:
org.apache.fop.apps.FOPException: java.lang.NoSuchMethodException: For
extension function, could not find method
java.io.File.exists([ExpressionContext,] #STRING).
Checked both static and instance methods.
at org.apache.fop.apps.CommandLineStarter.run(Unknown Source)
at org.apache.fop.apps.Fop.main(Unknown Source)
---------
java.lang.RuntimeException: java.lang.NoSuchMethodException: For extension
function, could not find method java.io.File.exists([ExpressionContext,]
#STRING).
Checked both static and instance methods.
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3231)
The xsl line looks like this:
<xsl:if test="file:exists('/nas/web/clients/demo/images/image_upload/....')">
.......
</xsl:if>
Sorry for this off-topic question.
Thanks
Lucian Opris
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]