Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old July 25th, 2006, 10:02 AM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default creating new xml file from existing

Hi,

My program uses a web service to return data from sql database.It returns data in xml format.In this case, 2 rows of results are in node 3 & the remaining in node 4.
Using vb.net, I need to read the returned XML & create my own xml so that all the above results are stored within one node to be read into a single datatable.
How do i do this. Any help?

  #2 (permalink)  
Old July 25th, 2006, 10:35 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

The easiest way to do this is by writing an XSLT transformation.

Or perhaps you knew that already, it's not clear. If so, you need to explain where you're having difficulty.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.net, adding XML data to an existing XML file saikoboarder XML 11 April 17th, 2008 04:19 PM
working with existing xml using xslt bv_arvind XSLT 1 March 12th, 2007 01:37 PM
Creating an XML file from XSD squatss C# 4 January 16th, 2007 08:41 AM
creating a xml ad file from a database source ACE2084 ASP.NET 1.0 and 1.1 Basics 4 January 21st, 2005 05:53 AM
Creating new objects from existing classes module0000 Beginning VB 6 3 June 17th, 2003 07:13 AM





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