Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 16th, 2006, 04:41 AM
Authorized User
 
Join Date: Oct 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to monuindia2002
Default Getting XML from DataSet

Hi,

I need to generate an xml document from several datatables in a
dataset which is loaded from oracle. There are several
parent-child relationships between these tables.
I want to convert the data set into xml with the
child nodes being nested under the parent nodes

How can i do that, can any body help me?

Regards
Mahesh

Mahesh
__________________
Mahesh
 
Old March 19th, 2006, 07:14 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Search msdn for "nested datarelations" and "dataset". If the relationships are specified as nested the WriteXml method will nest the output.
Once the data is loaded into a dataset the original source, Oracle or SQL Server makes no difference.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I load this xml to a dataset? chepla C# 2005 1 August 11th, 2008 08:51 AM
Generate Xml from DataSet monuindia2002 XML 0 March 22nd, 2006 01:06 AM
DataSet to XML everest ASP.NET 1.0 and 1.1 Professional 6 February 6th, 2006 08:43 PM
load values into the dataset from the xml dhol XML 1 December 31st, 2004 05:34 AM
Appending one xml dataset to another badgolfer ASP.NET 1.0 and 1.1 Basics 0 October 18th, 2004 09:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.