xsl-list
[Top] [All Lists]

Re: Placing a DOCTYPE in an XSL file

2005-04-29 09:58:31
----- Original Message ----- From: "Jaime Stuardo" <jstuardo(_at_)security(_dot_)cl>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Friday, April 29, 2005 5:53 PM
Subject: [xsl] Placing a DOCTYPE in an XSL file


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

If you want to output a document with a DTD declaration you need to use the xsl:output element =>


<xsl:output
 method = "xml" | "html" | "text" | QName
 version = nmtoken
 encoding = string
 omit-xml-declaration = "yes" | "no"
 standalone = "yes" | "no"
 doctype-public = string
 doctype-system = string
 cdata-section-elements = QNames
 indent = "yes" | "no"
 media-type = string
 />

doctype-public: Specifies the public identifier to be used in the DTD.
doctype-system: Specifies the system identifier to be used in the DTD.


Joe

https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5
--~------------------------------------------------------------------
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>