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 / October 2006

Tip: Looking for answers? Try searching our database.

XML Schema??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fenoxxx@gmail.com - 26 Oct 2006 15:20 GMT
Hi everybody,
i can't crete a dataset in .NET starting from XML file above:
<?xml version="1.0" encoding="UTF-8" ?>
<msg Name="Status">
    <section Name="Header">
        <data Name="A" Type="Int" Size="2">10</data>
        <data Name="B" Type="Int" Size="4">100000</data>
        <data Name="C" Type="Int" Size="8">10000000000</data>
    </section>
    <section Name="Body 2">
        <data Name="E" Type="Bool" Size="1">FALSE</data>
        <section Name="Body 1">
            <data Name="D" Type="String" Size="10">fer</data>
        </section>
    </section>
    <section Name="Body 3">
        <data Name="F" Type="Float" Size="4">1.569</data>
        <data Name="G" Type="Float" Size="8">0.298</data>
    </section>
</msg>

Can you help me?
Scott M. - 26 Oct 2006 16:07 GMT
Your XML is not well formed.  Fix your XML first.

> Hi everybody,
> i can't crete a dataset in .NET starting from XML file above:
[quoted text clipped - 5 lines]
> <data Name="C" Type="Int" Size="8">10000000000</data>
> </section>

> <section Name="Body 2">
> <data Name="E" Type="Bool" Size="1">FALSE</data>

> <section Name="Body 1">
> <data Name="D" Type="String" Size="10">fer</data>
> </section>

> </section>        <------  This should be prior to the last opening
> <section> tag

> <section Name="Body 3">
> <data Name="F" Type="Float" Size="4">1.569</data>
> <data Name="G" Type="Float" Size="8">0.298</data>
> </section>

> </msg>
>
> Can you help me?
fenoxxx@gmail.com - 27 Oct 2006 07:32 GMT
Sorry,
I don't understand, where? Maybe is not validate! But i ask help for
xsd (schema) and dataset with .NET

tnx

> Your XML is not well formed.  Fix your XML first.
Scott M. - 27 Oct 2006 16:51 GMT
If you look at my last post carefully, you'll see where the XML has gone
wrong and what it should be.  Your code is not "well-formed".

As for Schemas, you haven't asked any particular question about them, so
it's hard for me to answer a question you haven't asked.

> Sorry,
> I don't understand, where? Maybe is not validate! But i ask help for
[quoted text clipped - 3 lines]
>
>> Your XML is not well formed.  Fix your XML first.

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.