Hi, Matt, Welcome to the FOP world.
endElement is a method within the XML parser, so it's apparent that the parser doesn't like either your XML file or your XSL file. Most likely, this is the result of a malformed file (failing to close elements and such). As Jelka indicated, if you can post the XML and XSL files, we can puzzle out exactly what's going wrong. If it's not too much bother, please copy and past the contents of the files right into the message. I am a bit paranoid about opening attachments.... Jay Bryant Bryant Communication Services ----- Original Message ----- From: "IT Department - Coleshill" <[EMAIL PROTECTED]> To: <fop-users@xmlgraphics.apache.org> Sent: Thursday, January 26, 2006 6:15 AM Subject: New User - Fop error. Hi there I hope this is the correct place to post. Ive only just come to looking at XML/FOP in the last few days so please excuse any ignorance. I am running FOP from a DOS shell on windows XP pro. I have just installed the latest JRE. I have put the files I am trying to convert into the same directory as the Fop.bat file, these are afx.xml and afx.xsl. I run fop using : fop -xsl afx.xsl -xml afx.xml -pdf afx.pdf and it returns an error : javax.xml.transform.TransformerException: java.lang.IllegalStateException: endElement() called for html where there is no current element. Exception javax.xml.transform.TransformerException: java.lang.IllegalStateException: endElement() called for html where there is no current element. If anyone has any ideas or is able to point me in the right direction I would be most appreciative. Thankyou. Matt. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]