Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/06/2010, 03:09
lmalvarez
 
Fecha de Ingreso: julio-2009
Mensajes: 82
Antigüedad: 15 años, 6 meses
Puntos: 0
Problema XML y XSL

Buenas,

tengo un XML con la siguiente cabecera:

Código PHP:
<?xml version="1.0" encoding="windows-1252" ?>
<AuditFile xmlns="urn:OECD:StandardAuditFile-Tax:PT_1.00_01">
y en el fichero XSL:

Código PHP:
<?xml version="1.0" encoding="windows-1252"?>
<xsl:stylesheet version="1.0" 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" >
el problema es que no me muestra los valores de los campos al generar el PDF usando FOP. Si le quito el espacio de nombres (xmlns="urn:OECD:StandardAuditFile-Tax:PT_1.00_01") al fichero XML, entonces funciona perfectamente. ¿Cómo debo declarar ese espacio de nombres en el fichero XSL?

Muchas gracias