i showed the code in the first mail , and i do implement the version in the tag... look below...
<?xml version="1.0"?> <!-- this one i removed once and reset back cause it didn't change the bugga--> <xsl:stylesheet version="1.0" xmlns:xsl=" http://www.w3.org/1999/XSL/Transform" xmlns:fo=" http://www.w3.org/1999/XSL/Format"> <xsl:output method="html"/> this is how i call my whole application "java -cp kbcs_fop.jar;batik.jar;avalonframework.jar;fop.jar;xalan.jar;iText.jar;logkit1b4.jar;jaxp.jar;xerces.jar;. com.kbcsecurities.test.Startup" under here is the process that gives the error (my application exists out off different processes because the application not only generates pdf's but also ini files, text files, xmlfiles etc...) First the init() is run then the process(), i'm sure i give the xsl file cause on my puter the code works (i generate the pdf's) but on the production server i get the error... i hope this helps you out more... /* * XSLFOTransformer.java * * Created on 17 May 2002, 09:50 */ package com.kbcsecurities.rendering.processes; import java.io.*; import java.util.*; import com.kbcsecurities.rendering.interfaces.*; import com.kbcsecurities.rendering.exceptions.*; import com.kbcsecurities.util.log.*; import javax.xml.parsers.*; import javax.xml.transform.*; import javax.xml.transform.sax.*; import javax.xml.transform.dom.*; import javax.xml.transform.stream.*; import org.w3c.dom.*; import org.xml.sax.*; import java.util.*; import java.io.*; import org.apache.log.*; import org.apache.fop.apps.*; import org.apache.fop.render.*; import org.apache.log.format.*; import org.apache.log.output.*; import org.apache.log.output.io.*; import org.apache.fop.fonts.apps.* ; /** * * @author U97488 */ public class XSLFOTransformer implements IProcess { String sourceKey, languageKey, targetKey; Map TransformDocs = new HashMap(); public void init(Map initprops) throws ProcessException { File inFile; ArrayList al = new ArrayList(); sourceKey = (String)initprops.get("sourceKey"); targetKey = (String)initprops.get("targetKey"); languageKey = (String)initprops.get("languageKey"); Set set = initprops.keySet(); Iterator li = set.iterator(); while(li.hasNext()){ try { String key = (String)li.next(); if (key.endsWith("_XSL")){ DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); dbf.setNamespaceAware(true); inFile = new File((String)initprops.get(key)); Document XSLDoc = db.parse(inFile); TransformDocs.put(key, XSLDoc); System.out.println(key); } } catch(Exception e){ LoggerFactory.getLogger().log(this.getClass(), e, true); throw new ProcessException("MSGXXXX"); } } } public void process(Map props) throws ProcessException { DOMResult res = null; TransformerFactory transFactory; Transformer transForm; String language; // XML Parsen en de preparatie van het document zodat de renderer // de juiste gegevens heeft. try{ language = (String)props.get(languageKey); transFactory = TransformerFactory.newInstance(); transForm = transFactory.newTransformer(new DOMSource ((Node)TransformDocs.get(((String)props.get(languageKey)) + "_XSL"))); res = new DOMResult(); transForm.setOutputProperty("omit-xml-declaration", "yes"); // volgende lijn doet iet raar: // deze steekt in feite het getransformeerde document in res!!!!! // dus res is het resultaat en niet gewoon een argument dat je meegeeft!!! // desgeveolge steek ik later res in mijn map props en geef ik dit door aan // de fop transformer. transForm.transform(new DOMSource ((Node)props.get(sourceKey)),res); //in de map props steken. props.put(targetKey, (Document)res.getNode()); } catch (TransformerConfigurationException tce){ LoggerFactory.getLogger().log(this.getClass(), tce, true); tce.printStackTrace(); throw new ProcessException("MSGXXXX"); }catch (TransformerException te){ //parser heeft een fout gemaakt LoggerFactory.getLogger().log(this.getClass(), te, true); te.printStackTrace(); throw new ProcessException("MSGXXXX"); } catch (Exception ie) { LoggerFactory.getLogger().log(this.getClass(), ie, true); ie.printStackTrace(); throw new ProcessException("MSGXXXX"); } } } Jochen Maes ICT Development KBC Securities (kbcsecurities.com) Havenlaan 12 Avenue du Port SIF 8683 B-1080 Brussels Belgium Tel : +32 2 429 96 81 GSM : +32 496 57 90 99 E-mail : [EMAIL PROTECTED] This message and any attachments hereto are for the named person's use only. It may contain confidential, proprietary or legally privileged information. You may not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. If you have received this e-mail message without being the intended recipient, please notify KBC Securities promptly and delete this e-mail. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of KBC Securities. KBC Securities reserves the right to monitor all e-mail communications through its networks and any messages addressed to, received or sent by KBC Securities or its employees are deemed to be professional in nature. The sender or recipient of any messages to or of KBC Securities agrees that those may be read by other employees of KBC Securities than the stated recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof. KBC Securities does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of, or reliance on, the information.