DOCTYPE with Xml Serialization

V

Vlad

I have a class that serialize using the XmlSerializer.
I am using several attributes for class members to control serialization
process.
One thing I cannot figure out how to do is how to add DOCTYPE attribute to
the file.
This XML file must use the doctype that refers to the DTD rather than an
XSD.

Could someone point out how to accomplish that using the attributes or by
some other means?

Thanks!
 
S

Steven Cheng[MSFT]

Hi Vlad,

Thanks for your posting. Regarding on this issue, I've also found your
another post in the public.dotnet.xml newsgroup. I've posted my reply there
and I'd appreciate if you have a look there. In addition ,if you feel it
convenient that we continue to discuss in that thread, please feel free to
post there.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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