Groups | Blog | Home
all groups > dotnet xml > october 2006 >

dotnet xml : XML Schema??


fenoxxx NO[at]SPAM gmail.com
10/26/2006 7:20:16 AM
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.
10/26/2006 11:07:46 AM
Your XML is not well formed. Fix your XML first.

[quoted text, click to view]

fenoxxx NO[at]SPAM gmail.com
10/26/2006 11:32:35 PM
Sorry,
I don't understand, where? Maybe is not validate! But i ask help for
xsd (schema) and dataset with .NET

tnx

[quoted text, click to view]
Scott M.
10/27/2006 11:51:02 AM
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.


[quoted text, click to view]

AddThis Social Bookmark Button