DTD XML String

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top