471,046 Members | 1,270 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,046 software developers and data experts.

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 1409


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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.