That work fine, thanks
David DERUMIER
-----Original Message-----
From: Paul Kelly [mailto:[log in to unmask]]
Sent: lundi 16 octobre 2000 16:04
To: [log in to unmask]
Subject: Re: IXMLDomDocument & CreateNode
The only easy way I found to do this was to create a BSTR
with the outline
of my document:
<?xml version="1.0"?>
<!DOCTYPE bla PUBLIC "public descriptor" "somewhere.dtd">
and then use the loadXML method of IXMLDOMDocument to load
it as a document.
You've now effectively created an empty document with the
DOCTYPE you want
and can go ahead and start adding nodes and building your
document.
-----Original Message-----
From: Derumier, David [mailto:[log in to unmask]]
Sent: 16 October 2000 14:37
To: [log in to unmask]
Subject: IXMLDomDocument & CreateNode
(this is my first posting on this list, so if I'm off-topic,
please tell
me).
I try to create a XML document using IXMLDOMDocument
Interface from VC++.
The question is simple: how can I create <!DOCUMENT ...> ?
The documentation say that you can not use CreateNode for
this type of node.
So how ?
Thank you by advance.
David DERUMIER