Transformation xml->xsl->xhtml

"Yann LE ROUX" <[email protected]>
Newsgroups gmane.text.xml.french.tech
Message-ID <00ef01c6ec73$2954df20$2a00790a@Yann>
Bonjour,
Je publie le contenu de mes pages avec une transformation xml-> xsl. En sortie je veux avoir ma page au format xhtml.
Cette transformation (ce contenu) va être imbriqué dans un template Smarty (template php). En entête de mon template smarty j'ai mon doctype :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Quand je valide ma page avec le validator w3c, on me dit que ma page est incorrect car au mileu de cette page (contenu de ma brève réalisé à partir d'une transformation xml->xsl) , est présent cette ligne :

<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE script PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "%20%20http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Pour que mon document soit validé il faudrait que cette ligne disparaisse dans ma sortie, tout en ayant du xhtml en sortie ?
Quelqu'un aurait une idée ?

Merci d'avance,

Yann LE ROUX
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.