Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / March 2008

Tip: Looking for answers? Try searching our database.

.net and XML schema *.XSD ???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
olivier - 29 Feb 2008 22:29 GMT
Hello,

I'm a newbie in XML and .Net
I've a function that return some XML
I've also a XML schema *.XSD

What should I do with all this things ?
I had try

myDataSet.ReadXML("c:\myfile.xml")

but I've got some errors
'Bad xml file, Tag non close ..)

thanks
olivier
Martin Honnen - 01 Mar 2008 13:04 GMT
> I'm a newbie in XML and .Net
> I've a function that return some XML
[quoted text clipped - 7 lines]
> but I've got some errors
> 'Bad xml file, Tag non close ..)

Use XmlReader to check your XML for well-formedness. If you want to
validate your XML against the schema you have then you can also do that
with XmlReader and the proper XmlReaderSettings, see
<URL:http://groups.google.com/group/microsoft.public.dotnet.xml/browse_thread/thread/
7be70e4cf56d8d6f/418bb8fd8db7cd66?lnk=st&q=#418bb8fd8db7cd66
>
for an example.

Signature

    Martin Honnen --- MVP XML
    http://JavaScript.FAQTs.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.