W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

Re: Creating <!DOCTYPE programmatically

From: <Jeff.Kish@mro.com>
Date: Wed, 8 May 2002 08:54:35 -0400
To: www-dom@w3.org
Cc: "Lombardo, Lisa" <llombardo@courion.com>
Message-ID: <OFC7A4960B.D42E6F20-ON85256BB3.0046CB97@psdi.com>

As far as I know, this is not possible at this point in time.
I have been using Xerces and not found it feasible. Please someone help me
if I am wrong and tell me how.

You could manually add the statement to the output xml file.
Jeff


                                                                                                                   
                    "Lombardo,                                                                                     
                    Lisa"                To:     "'www-dom@w3.org'" <www-dom@w3.org>                               
                    <llombardo@cou       cc:                                                                       
                    rion.com>            Subject:     Creating <!DOCTYPE programmatically                          
                    Sent by:                                                                                       
                    www-dom-reques                                                                                 
                    t@w3.org                                                                                       
                                                                                                                   
                                                                                                                   
                    05/07/02 08:12                                                                                 
                    PM                                                                                             
                                                                                                                   
                                                                                                                   





What do I need to be able to programmatically create XML that allows me to
write the <!DOCTYPE tag?
I am using createProcessingInstruction to write the <? xml version="1.0"
?>.

I have read that both the above and <!Doctype are not available with DOM
LEVEL 1, but obviously I have accomplished one of the two.

What do I need to accomplish the writing of the <!Doctype programmatically
using C++ (Microsoft Visual Studio 6 sp4) ?

I am moving MSXML 3.0.  I hoping it has the W3C DOM LEVEL compliance
necessary for this ability.

________________________________
Lisa Lombardo
Software Engineer/Chief Fun Officer
llombardo@courion.com

COURION CORPORATION
phone 508 879-8400, ext. 203
fax 508 879-8500
www.courion.com <http://www.courion.com/>
______________________________________________
THIS EMAIL CONTAINS CONFIDENTIAL INFORMATION
AND IS INTENDED FOR THE RECIPIENT ONLY. PLEASE
DELETE THIS IF YOU HAVE RECEIVED IT IN ERROR.
______________________________________________
Received on Wednesday, 8 May 2002 08:55:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT