I´m getting this error... java.lang.IllegalArgumentException: The input node can not be null for a DOMSource for newTemplates!
It´s probably because the xml has tags like this <seguroEmitido> <pais></pais> <codigo></codigo> <nroVoucher></nroVoucher> <nro_certificado></nro_certificado> <cod_cia_seguros></cod_cia_seguros> <nro_recibo></nro_recibo> <fec_recibo></fec_recibo> </seguroEmitido> The thing is... what should i do?... erase those nodes?.. set a blank space to it? if i erase the nodes in the xml.. will the xsl still work if those nodes are missing? Best Regards, Esteban