473,406 Members | 2,387 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,406 software developers and data experts.

Adding a comment to a XML document: WriteXML

Hi, how can I write a comment to a XML document when I am generating the XML
document via the DataSets WriteXML method?

Thanks in advance
Mark
Sep 22 '05 #1
3 1636
Mark,

There is a difference between a XML file and an XML document.
A dataset can be serialized in an XML file, therefore is it not yet a
document.

The same as than an XML document is not direct a dataset.

I hope this helps,

Cor

"Mark" <do**@spam.me> schreef in bericht
news:uh**************@TK2MSFTNGP09.phx.gbl...
Hi, how can I write a comment to a XML document when I am generating the
XML
document via the DataSets WriteXML method?

Thanks in advance
Mark

Sep 22 '05 #2
Hi Cor, thanks for that. I am aware of this difference but I was just
wondering if it was possible to insert a comment into a DataSet via an add
row method in one of the underlying DataRows..

Cheers
Mark
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:uo*************@tk2msftngp13.phx.gbl...
Mark,

There is a difference between a XML file and an XML document.
A dataset can be serialized in an XML file, therefore is it not yet a
document.

The same as than an XML document is not direct a dataset.

I hope this helps,

Cor

"Mark" <do**@spam.me> schreef in bericht
news:uh**************@TK2MSFTNGP09.phx.gbl...
Hi, how can I write a comment to a XML document when I am generating the
XML
document via the DataSets WriteXML method?

Thanks in advance
Mark


Sep 22 '05 #3
Mark,
Hi Cor, thanks for that. I am aware of this difference but I was just
wondering if it was possible to insert a comment into a DataSet via an add
row method in one of the underlying DataRows..

Probably not as you intent, a datarow has the format of the Columns
description of a datatable.

Cor
Sep 23 '05 #4

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

Similar topics

0
by: admin | last post by:
Hi, I hope I have writing to the correct group here... I need to create a word macro that will access terms in a glossary document and add there meanings as a comment in another document. The...
1
by: Terry | last post by:
Hello, Seems simple enough in concept but I'm at a total loss. Basically I have a WebRowSet that allows me to spit the XML out by using the .writeXml(Writer w) method. What I need to do, is to...
1
by: Jay Sartoris | last post by:
Hi, I'm adding a node to my XML document using DOM. When I serialize it, I lose my comments that are above my root node. I've created an OutputFormat obect and set the setOmitComments(false)...
11
by: DraguVaso | last post by:
Hi, I should use XML to synchronize the data from different (VB.NET) applications, and I was just wondering which Overloads of these functions ( ReadXmlSchema, ReadXml and WriteXml) goes the...
1
by: Dave | last post by:
Hi all, I've seen that many people have had this exact same problem in the past, but no-one seems to post the answer when (if) they solve it... so here we go again. If I create a strongly...
3
by: Mark | last post by:
Hi, how can I write a comment to a XML document when I am generating the XML document via the DataSets WriteXML method? Thanks in advance Mark
7
by: Joseph Scoccimaro | last post by:
Currently I am trying to use JavaScript within greasemonkey to dynamically put a menu at the top of each page. I am running in to trouble when I try to append a node representing a script tag to...
11
by: karen987 | last post by:
I have a web page which used to work fine until i added a rich text editor. the pages are in ASP and it is a news weblog, with a comments section where people click the headline of a comment and...
5
tjc0ol
by: tjc0ol | last post by:
Hi all, I made contact page which allows visitors to input their name, email address, phone number, comments and select a comment type by using <select> element in html with javascript. Among the...
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
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,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.