xsl-list
[Top] [All Lists]

Re: Placing a DOCTYPE in an XSL file

2005-04-29 14:02:51

   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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>