Come faccio a trasformare un XML in XHTML 1 transitional (che sia compatibile dia con IE che con Firefox...)?
Cosa dovrei cambiare in questo semplice XSL?:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xslutput method="xml" indent="yes"/>
<!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">
<body>
ciao
</body>
</html>
</xsl:template>
</xsl:stylesheet>

utput method="xml" indent="yes"/>
Rispondi quotando