PC Review


Reply
Thread Tools Rate Thread

adding xmlElements in a stream XmlTextWriter..

 
 
genc_ ymeri at hotmail dot com
Guest
Posts: n/a
 
      7th Dec 2004
Hi,
I have a list of objects that have a ToXML() method (not yet determine what
type I have to do it).

I want to add each of their XML representantive to a the while XML file
being build in as a stream one with XmlTextWriter,

in other words I would like to do something like

foreach(MyObject obj in MyList)
{
myWholeList.addNode(obj.ToXML());
}

Any tip will very much appreciated.

Thank You.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XmlSerializer is reversing order of XmlElements in class serialized. FredZimmerman@gmail.com Microsoft C# .NET 1 24th Sep 2007 08:40 PM
Empty XmlElements creating new line Zief Microsoft C# .NET 3 7th Nov 2006 04:29 PM
Empty XmlElements creating new line!? Zief Microsoft Dot NET Compact Framework 0 31st Oct 2006 01:26 PM
Best way to generate dynamic XmlElements and Nodes k-lo Microsoft C# .NET 0 21st Jan 2005 12:50 AM
Best way to generate dynamic XmlElements and Nodes Guest Microsoft C# .NET 0 21st Jan 2005 12:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:33 PM.