473,395 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

DataSet and XML Lesson 1

DataSet & XML Lesson 1
multidimensional XML data

This is a known issue (KnowledgeBase 325696)
"Although this XML document is well formed, it contains structure that Data
view cannot display. The same table (Table name) cannot be the child table
in two nested relations." :

<?xml version="1.0" ?>
<root>
<company name="concern">
<adress city="metropol" street="avenue"/>
<company />
<person name="developer">
<adress city="town" street="road"/>
</person>
</root>

I know this is by design, but I mean it is a poor design.
Does anybody kowns, wheter this lack is repaired in .Net Framework 2.0?

thanks,
Jaga


Nov 12 '05 #1
4 1701
Your XML sample works in .NET 2.0 beta1 and generates three tables. I did
have to fix the end tag on the company element, though.

Cheers,
Bob Beauchemin
http://staff.develop.com/bobb
"Jaga" <ja***@web.de> wrote in message
news:uU**************@tk2msftngp13.phx.gbl...
DataSet & XML Lesson 1
multidimensional XML data

This is a known issue (KnowledgeBase 325696)
"Although this XML document is well formed, it contains structure that Data view cannot display. The same table (Table name) cannot be the child table
in two nested relations." :

<?xml version="1.0" ?>
<root>
<company name="concern">
<adress city="metropol" street="avenue"/>
<company />
<person name="developer">
<adress city="town" street="road"/>
</person>
</root>

I know this is by design, but I mean it is a poor design.
Does anybody kowns, wheter this lack is repaired in .Net Framework 2.0?

thanks,
Jaga

Nov 12 '05 #2
Thank you Bob.

I'm relieved and waiting for .NET 2.0.
Your XML sample works in .NET 2.0 beta1 and generates three tables. I did
have to fix the end tag on the company element, though.


I mean of course "</company>" :-)
Nov 12 '05 #3
Hi Bob,

could you test the sample from "DataSet and XML Lesson 2" too ?
May be it works with .NET 2.0 as well.

Thanks,
Jaga
Nov 12 '05 #4
The schema in DataSet and XML Lesson 2 works in ADO.NET 2.0 also.

Bob Beauchemin
http://staff.develop.com/bobb
"Jaga" <ja***@web.de> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Bob,

could you test the sample from "DataSet and XML Lesson 2" too ?
May be it works with .NET 2.0 as well.

Thanks,
Jaga

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jaga | last post by:
DataSet & XML Lesson 2 2*complex + 2*simple = 2much ? Hello, I have a XSD file with a valid schema (see below). I can see the schema-diagram in the XML-Designer of VisualStudio well, but when...
2
by: DCMyers1 | last post by:
I am trying to create a database to store my lesson plans in and I have hit a problem that I am sure is simple to solve but my lack of access (2000) ability is getting in the way. What I want to...
0
by: Joe Mayo | last post by:
I've recently updated the C# Tutorial at C# Station with a new addition, Lesson 17: Enums. The C# Tutorial may be found at http://www.csharp-station.com/Tutorial.aspx. Other updates include:...
5
by: Mike | last post by:
I need to expand the DataSet class by inheriting from it and adding functions that work on the data in the tables. However, since I can't upcast how can I get my base DataSet object assigned an...
2
by: John Holmes | last post by:
I have a web interface where the user types in ID's one at a time. After an ID is typed in, a button is clicked and the button click event has code that does a query and returns a data reader and...
22
by: Arne | last post by:
How do I pass a dataset to a webservices? I need to submit a shoppingcart from a pocket PC to a webservice. What is the right datatype? II have tried dataset as a datatype, but I can't get it to...
3
by: Juan R. | last post by:
In http://canonicalscience.blogspot.com/2006/04/scientific-language-canonml-is.html] I presented some generic requirements for a markup language for science and mathematics. Basic features of...
1
by: matt | last post by:
hello, i have a web app that allows users to query our oracle db and produce a dataset of report data. they then have the option to serialize this data and store it in the database. later, then...
4
by: Dave White | last post by:
Hello everyone, I would like to assign a lesson to many students as a group rather than individually. Any suggestions would be appreciated. Dave White
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.