473,396 Members | 1,891 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,396 software developers and data experts.

Insert XML into a XmlDocument object

I'm trying to inset XML into a XmlDocument that already has data in it. Does anyone have and c# examples (vb.net will work) or ideas on how to do this? Thx...sonny
Nov 12 '05 #1
2 5124
What do you mean ? If you want to append xml to an
existing xml, then you can use either XmlNode.InsertAfter
(), AppendChild() or some other functions from the XmlNode
class.

Sonu
MyBlog: http://weblogs.asp.net/sonukapoor/

-----Original Message-----
I'm trying to inset XML into a XmlDocument that already has data in it. Does anyone have and c# examples (vb.net
will work) or ideas on how to do this? Thx...sonny.

Nov 12 '05 #2
What do you mean ? If you want to append xml to an
existing xml, then you can use either XmlNode.InsertAfter
(), AppendChild() or some other functions from the XmlNode
class.

Sonu
MyBlog: http://weblogs.asp.net/sonukapoor/

-----Original Message-----
I'm trying to inset XML into a XmlDocument that already has data in it. Does anyone have and c# examples (vb.net
will work) or ideas on how to do this? Thx...sonny.

Nov 12 '05 #3

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

Similar topics

0
by: JC | last post by:
I'm converting a vb6 project to vb.net. I was able to insert a binary object into my XMLDOM using " Set oElement = xmlDoc.createElement("eDocument") oRoot.appendChild oElement oElement.dataType =...
4
by: Robert Rossney | last post by:
I'm trying to send and receive XmlDocument objects using the System.Messaging.dll functions. The code I've written follows, as best I can tell, the methodology used in the sample code for the...
1
by: Chris Fink | last post by:
I am receiving xml documents from a customer without a reference to a doctype. I know what the Doctype DTD should be need to insert the declaration as follows <?xml version="1.0"...
3
by: Markus | last post by:
Hi! I wanted to select a subset of nodes (list = selectNodes("parent/child") from a XmlDocument, then remove all (parentNode.removeAll();) child-nodes and insert the previous selected nodes...
2
by: John Smith | last post by:
I'm writing webervice client using .Net 2.0. I have this class: public class MyWebService : SoapHttpClientProtocol { public XmlDocument validate(string url, XmlDocument xmlDocument) {...
7
by: S Wheeler | last post by:
Hi all - I need some help trying to insert / append a block of xml text into an xml document. This is for a reporting app and as new data is available, I must add it to the end of the document. It...
11
by: ericms | last post by:
Can anybody show me how to insert a CDATA section using XPathNavigator ? I have tried the follwing with no luck: XmlDocument docNav = new XmlDocument(); docNav.LoadXml(xmlString);...
3
by: dotnetnoob | last post by:
let's say i have a xml file <root> <stuff id='1'> <stuff1> </stuff1> </stuff> </root> how do i insert new <stuff2>element and atrribute after stuff1
7
by: E.F | last post by:
Hi everybody, I get lost trying to insert a node in my xml file with readfile, xpath, xpathnavigator, etc... 1/ my xml file looks like that : <PUPILL_CP_1> <YEAR_2006> <OCTOBRE...
7
by: anu b | last post by:
Hi I need to use Clr trigger for insert command My code is as below I am using SQL server 2005 and VS 2008.... but after running this code i didnt get the result as i expexted it shows the...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.