xsl-list
[Top] [All Lists]

Re: How to keep DOCTYPE declaration in output

2003-07-25 13:37:48
Taro,

Look up the attributes allowed on the xsl:output element, including doctype-system and doctype-public. A google search, or a lookup in the spec (or in a reference to the spec such as the one at http://www.zvon.org) will tell you more.

It won't *keep* your doctype, but it'll allow you to specify the string value you want in the identifiers in the doctype declaration of your output (assuming it's serialized).

Cheers,
Wendell

At 03:09 PM 7/25/2003, you wrote:
Is there anyway to keep the DOCTYPE declaration of the input document in
the output?


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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



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