Hi,
can you help me with this problem?

I have a xhtml file (file1) that i want transform in xml file.
I use XSL file (file2), but my output file is invalid.

I know the error, by i don't now the resolution.

FILE1: (file input XHTML)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org"/>
<title/>
</head>
<body>
<table class="fascettaLEGGE" border="0">
<tbody>
<tr>
<td align="left" width="70%" height="40">
<p class="parestremi">Circ. 10 luglio 1979, n.19</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>
<p class="parepigrafe">
<b>Ministero delle
Finanze</b>
<br/>
<i>B..........................</i>
</p>
</td>
</tr>
</tbody>
</table>
</body>
</html>



FILE2: (XSL)

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by as (de) -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xhtml="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xhtml">
<xslutput method="xml" version="1.0"/>
<!-- <xslutput method="xml" version="1.0" doctype-system="/SysConfig/Rules/Eidos.dtd"/>
-->
<xsl:template match="/">
<xslrocessing-instruction name="EM-dtdExt">/SysConfig/Rules/Eidos/Eidos.dtx</xslrocessing-instruction>
<doc xml:lang="it">
<lead>
<lead-titolo>
<titolo>
<ln>
Titolo del lead
</ln>
</titolo>
<sommario>
<ln>
Sommario del lead
</ln>
</sommario>
</lead-titolo>
</lead>
<xsl:apply-templates select="xhtml:html/xhtml:body"/>
</doc>
</xsl:template>
<xsl:template match="xhtml:body">
<articolo>
<titolazione>
<titolo>
<ln>
Titolo dell'articolo
</ln>
</titolo>
</titolazione>
<testo>
<xsl:copy-of select="*"/>
<p>
Testo dell'articolo
</p>
</testo>
<fine-articolo>
<xslrocessing-instruction name="EM-dummyText"> Inserire qui component
email </xslrocessing-instruction>
</fine-articolo>
</articolo>
</xsl:template>
</xsl:stylesheet>


FILE3( file output XML)
<?xml version="1.0" encoding="UTF-16"?>
<?EM-dtdExt /SysConfig/Rules/Eidos/Eidos.dtx?>
<doc xml:lang="it">
<lead>
<lead-titolo>
<titolo>
<ln>
Titolo del lead
</ln>
</titolo>
<sommario>
<ln>
Sommario del lead
</ln>
</sommario>
</lead-titolo>
</lead>
<articolo>
<titolazione>
<titolo>
<ln>
Titolo dell'articolo
</ln>
</titolo>
</titolazione>
<testo>
<table class="fascettaLEGGE" border="0" xmlns="http://www.w3.org/1999/xhtml">
<tbody>
<tr>
<td align="left" width="70%" height="40" rowspan="1" colspan="1">
<p class="parestremi">Circ. 10 luglio 1979, n.19</p>
</td>
</tr>
</tbody>
</table>
<table xmlns="http://www.w3.org/1999/xhtml">
<tbody>
<tr>
<td rowspan="1" colspan="1">
<p class="parepigrafe">
<b>Ministero delle
Finanze</b>
<br clear="none"/>
<i>B..........................</i>
</p>
</td>
</tr>
</tbody>
</table>
<p>
Testo dell'articolo
</p>
</testo>
<fine-articolo>
<?EM-dummyText Inserire qui component email ?>
</fine-articolo>
</articolo>
</doc>


The error is xmlns attribuite in tag.
In Eidos DTD (see file3- file output) xmlns attribuite is invalid.


How can I to omit this attribuite?