xsl-list
[Top] [All Lists]

Re: [xsl] <!DOCTYPE

2006-06-20 08:30:00
You can only avoid the system identifier if you are producing HTML, you cannot avoid the system identifier if you are producing XML.

Use:

  <xsl:output method="html" doctype-public="xxxxxx"/>

and a conforming processor supporting HTML should not complain.

I hope this helps.

. . . . . . . . Ken

At 2006-06-20 11:19 -0400, Chad Chelius wrote:

David, When I try to use <xsl:output doctype-public> my xml editor
warns me that if I don't have a system identifier that the public
doctype will be ignored. Can you explain this?

On Jun 20, 2006, at 10:25 AM, David Carlisle wrote:

use the doctype-system attribute of xsl:output

David


--
Registration open for UBL training:    Montréal, Canada 2006-08-07
Also for XSL-FO/XSLT training:    Minneapolis, MN 2006-07-31/08-04
Also for UBL/XML/XSLT/XSL-FO training: Varo,Denmark 06-09-25/10-06
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
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>