Subject: Re: [xsl] Placing a DOCTYPE in an XSL file From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 29 Apr 2005 22:02:51 +0100 |
Hi all.. I need to place this definition in an XSL: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"> I tried just after the prolog, and in other parts but I get always errors. Ho can I do it? Thanks Jaime You'd use the xsl:output instruction, however be warned, if you generate that it would be non-well formed XML. If the file is XML you have to give a URI as well as the public identifier, and if you are generating html then you need the public ID of the HTML DTD not anXHTML one. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Placing a DOCTYPE in an X, Joe Fawcett | Thread | [xsl] Passing params problem., Francesco Barresi |
Re: [xsl] following-sibling and xsl, Karl Stubsjoen | Date | Re: [xsl] following-sibling and xsl, Wendell Piez |
Month |