RE: Using Xalan Transformer with FOP Driver problem

2002-06-21 Thread Shaikh, Mehmood
Try this. // --- // 1. Get a Source for XML document // --- // a) from string Source strSource = new StreamSource(new StringReader(xmlData)); // --- // 2. Get stylesheet transformer // --- // from file, see above examples for other types of XSL input

Re: Using Xalan Transformer with FOP Driver problem

2002-06-21 Thread Ryan.Asleson
I use 0.20.1 also with SAX events. I had to add this to get rid of the null pointer: //Hack fix for FOP bug. Might be unnecessary in FOP 0.20.3. StreamRenderer x = new StreamRenderer(outputStream, pdfDriver.getRenderer());

RE: Using Xalan Transformer with FOP Driver problem

2002-06-21 Thread Anil R. Pinto
:56 PM To: [EMAIL PROTECTED] Subject:Re: Using Xalan Transformer with FOP Driver problem I use 0.20.1 also with SAX events. I had to add this to get rid of the null pointer: //Hack fix for FOP bug. Might be unnecessary in FOP 0.20.3. StreamRenderer x = new