[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Including XHTML DTD in output


Subject: RE: [xsl] Including XHTML DTD in output
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Thu, 2 Aug 2001 16:23:55 +0200

 
> How do I include an XHTML DTD in my output?

XSLT supports this with doctype-public and doctype-system attributes on
xsl:output. In your case: 

<xsl:output method="xml" doctype-public="-//W3C//DTD XHTML 1.0
Transitional//EN" doctype-system="DTD/xhtml1-transitional.dtd"/>

Linda

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords