DTD XML String

  • Thread starter Thread starter Steven Blair
  • Start date Start date
S

Steven Blair

Hi,

I am writing an application which communciates with a web service.
The data I need to send to the service is an XML document over HTTPS.

I have been supplied with a DTD file.

My problem is how do I create a structure of some description (DataSet
or some other object) which has all the field defined
in the DTD file and allow me populate these fields. Finally, I should be
able to export the whole XML document to a string.

I was involved in a similar project but I had a XML schema file which I
loaded into a DataSet then populated the DataColumns myself.
Getting th XML from this object is simple.

1. Do I have to convert the DTD to a schema (if yes, how?)?
2. Can a DataSet load a DTD directly
3. Is there another way of achieving the same results.

Thanks in advance.

Steven
 
Back
Top