Hi,

I have a XML file with the following header:

PHP Code:
<?xml version="1.0" encoding="windows-1252" ?>
<AuditFile xmlns="urn:OECD:StandardAuditFile-Tax:PT_1.00_01">
and a XSL file with the following header:

PHP Code:
<?xml version="1.0" encoding="windows-1252"?><!-- DWXMLSource="../../../../../xampp/xampp/htdocs/facturacion/b/facturacao.xml" -->
<!-- codificacion original  iso-8859-1  -->
<!-- codificacion xml facturacao    windows-1252  -->
<xsl:stylesheet version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:OECD:StandardAuditFile-Tax:PT_1.00_01 SAF-T-PT.XSD" xmlns="urn:OECD:StandardAuditFile-Tax:PT_1.00_01"  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  xmlns:fo="http://www.w3.org/1999/XSL/Format" 
>
The problem is when I tried to generate a PDF file using FOP, the content of elements is not displayed. If I quit the xmlns declaration in the XML file, it works!

Why? How do I have to declare de xmlns in the XSL file?

Thanks