XSL file not found
Hi, when trying to generate the .fo-file using the command java org.apache.xalan.xslt.Process -IN C:/fop/data.xml -XSL C:/fop/style.xsl -OUT C:/fop/output.fo I get the error message XSLT Error (javax.xml.transform.TransformerConfigurationException): File C:/fop/style.xsl not found. When I try /fop/style.xsl instead of C:/fop/style.xsl (and the same syntax for the xml-file), it's all OK. But how can I use a XSL-stylesheet from a different drive ? Thanks and regards Viktor Keimes - This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Formatting in addiction to the total page number
Hi, perhaps someone have a response to my problem: On top of the first page I would like to make a warning output (e.g. This document contains 10 pages!), but only if the document has more than one page. If the document has exactly one page, no warning should appear. Is this possible ? I have try something like this: xsl:param name=PAGESfo:page-number-citation ref-id=end-of-document//xsl:param xsl:if test=$PAGES1 !-- or xsl:if test=$PAGES gt; 1 , but no more success -- fo:block This document contains fo:page-number-citation ref-id=end-of-document/ pages! /fo:block /xsl:if [... ] fo:block id=end-of-document / but this does't work. Greetings Viktor Keimes - This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Total page number of a PDF document
Hi! Is it possible to indicate the total page number of the document, e.g. for an output of the type page 3 of 35 ? I did not find something to this question in the documentation or the examples. Thank you first Greetings Viktor Keimes ___ Dr. Viktor Keimes Gerling GKI AB-IM; Spiesergasse 20, D-50597 Köln Tel: +49 (0)221 144-62005 e-Mail: [EMAIL PROTECTED] ___ - This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]