thnks for your reply i use the default encoding for XML to generate this files: <?xml version="1.0" encoding="iso-8859-1"?>. and default fo.xsl header:
<?xml version='1.0'?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:template match="/"> To generate this files i use a smal programm which operate on vms operation systems. any other idee? ----- original Nachricht -------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 With what editor did you generate the file? In what encoding did you safe the file? XML files use something like UTF-8 or UTF-16 per default. So if you simply edited them using wordpad or notepad (since you talk of ie I assume you use that **** from **** *****), they are saved in Windows CP-1252 which is a derivate of ISO-8859-1, not compatible with the default encodings of XML and therefore must be declared like <?xml version="1.0" encoding="iso-8859-1"?>. And remember, there may not be any characters before the XML Declaration. Am Donnerstag, 23. Januar 2003 21:43 schrieb [EMAIL PROTECTED]: > I generate with FOp o.20.4rc from xsl and xml files PDFs. > My xsl file containt some German characters like ���When i run FOP i > get > this ERROR: > > [INFO] FOP 0.20.4rc > [Fatal Error] myxslfile.xsl:2:6: The processing instruction target matching > "[xX][mM][lL]" is not allowed. [ERROR] null > > > > (i get an Error from iexplorer 6.0 too when i open this xsl file with > iexplorer because of this German characters ) > > I use at the head of my xsl file this header: > > <?xml version='1.0'?> > <xsl:stylesheet version="1.0" > xmlns:xsl="<a href='http://www.w3.org/1999/XSL/Transform' > target='_blank'><u>http://www.w3.org/1999/XSL/Transform</u></a>" > xmlns:fo="<a href='http://www.w3.org/1999/XSL/Format' > target='_blank'><u>http://www.w3.org/1999/XSL/Format</u></a>"> <xsl:template > match="/"> > > > > does somebody know the Solution! > > > amad - -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: [EMAIL PROTECTED] WWW: <a href='http://www.itcqis.com' target='_blank'><u>http://www.itcqis.com</u></a>/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+MFxAzu6h7O/MKZkRAtF4AJ956slJxpS5fu4kzIPfAN6NlcRT3QCdFMtV 4hQ0zmMW5fQcsle/ZSSCEWA= =fkk2 -----END PGP SIGNATURE----- --- original Nachricht Ende ---- -- freenet Email-Office: E-Mail, Kalender und 30 MB virtuelle Festplatte. Jetzt testen unter www.freenet.de/tipp/emo
