PC Review


Reply
Thread Tools Rate Thread

DTD XML String

 
 
Steven Blair
Guest
Posts: n/a
 
      10th May 2007
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



*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
bob
Guest
Posts: n/a
 
      11th May 2007

Hi,
Have a look at.
http://www.hitsw.com/xml_utilites/

HTH
Bob


On Thu, 10 May 2007 05:49:52 -0700, Steven Blair
<(E-Mail Removed)> wrote:

>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
>
>
>
>*** Sent via Developersdex http://www.developersdex.com ***

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make two references to one string that stay refered to the same string reguardless of the changing value in the string? Daniel Microsoft Dot NET 7 12th Nov 2004 09:08 AM
how to make two references to one string that stay refered to the same string reguardless of the changing value in the string? Daniel Microsoft C# .NET 10 3rd Nov 2004 03:26 PM
Cannot create an object of type 'System.String[]' from its string representation 'String[] Array' for the 'Options' property. Hessam Microsoft C# .NET 0 8th Aug 2003 09:45 AM
Re: Converting a string to a string that contains the ASCII values of each letter in the origional string Mikael Jansson Microsoft C# .NET 0 31st Jul 2003 08:42 PM
Re: Converting a string to a string that contains the ASCII values of each letter in the origional string Frank Oquendo Microsoft C# .NET 0 31st Jul 2003 08:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:37 PM.