468,268 Members | 1,769 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

Using XML DTD thru C#

Hi,

I am a new to using xml class in c#.I am having a DTD/XSL(Xml-schema
file) File.Now i need to insert the element values and attributes to
that DTD/XSL and to produce a new xml file.Is it possible to craete an
xml file from DTD/XSL using visual studio .Net 2003 or visual studio
..Net 2005.Now i am creating the XML file without DTD/XSL using

XmlTextWriter.WriteStartElement

XmlTextWriter.WriteAttributeString

XmlTextWriter.WriteElementString

XmlTextWriter.WriteEndElement

Methods.Can anybody help me on this issue.

Regards,
Manikandan

Jun 1 '06 #1
1 1369


pl**********@gmail.com wrote:

I am a new to using xml class in c#.I am having a DTD/XSL(Xml-schema
file) File.Now i need to insert the element values and attributes to
that DTD/XSL and to produce a new xml file.Is it possible to craete an
xml file from DTD/XSL using visual studio .Net 2003 or visual studio
.Net 2005.


This article shows how to use the .NET 2.0 classes to infer an XML
document from an XSD schema document:
<http://msdn.microsoft.com/library/en-us/dnxmlnet/html/xmlgen.asp>

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jun 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by cr113 | last post: by
10 posts views Thread by telesphore4 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.