Hi,
I have the following problem using FOP 0.95.
I have an XML in UTF-8 encoding, and the XSL file in UTF-8 too. There is no
problem when I generate the PDF file.
But I have another XML file in windows-1252 encoding and the XSL file in
iso-8859-1.
The problem is that when I generate the PDF, the values of the fields there
are not displayed...
What are the encodings supported by Apache FOP?
Maybe I'm missing the namespace showed in the XML file. Take a look at the
following XML declaration:
<?xml version="1.0" encoding="windows-1252"?>
<AuditFile xmlns="urn:OECD:StandardAuditFile-Tax:PT_1.00_01">
<Header>
<AuditFileVersion>1.00_01</AuditFileVersion>
<CompanyID/>
....
And now the XSL declaration:
<?xml version="1.0" encoding="windows-1252"?><!-- DWXMLSource="Fact
Portugal/SAFT-PT/Exemplo SAFT da Facturacao.XML" -->
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY copy "©">
<!ENTITY reg "®">
<!ENTITY trade "™">
<!ENTITY mdash "—">
<!ENTITY ldquo "“">
<!ENTITY rdquo "”">
<!ENTITY pound "£">
<!ENTITY yen "¥">
<!ENTITY euro "€">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns="urn:OECD:StandardAuditFile-Tax:PT_1.00_01" xmlns:fo="
http://www.w3.org/1999/XSL/Format">
....
Thanks