473,396 Members | 2,081 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.

XML Dataset editor

Hi,

I am making a flash card type program for the PocketPC. I am using a dataset
to contain the cards, all of that works great.

I thought I would just import the XML into word or excel, copy/paste the
data from other sources or add new records, and then save it as xml. As i
have Office XP, that does not work.

Is there a freeware XML dataset editor out there? I've found many editors,
but I just need something simple - oriented towards a dataset with a couple
of tables.

Making something like this would not be that hard, but would sort of be
re-inventing the wheel.

Any suggestions?

thanks

e
-------

<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<Info>
<Version>1.0</Version>
<DateCreated>2001-09-03T00:00:00.0000000-05:00</DateCreated>
<OriginalAuthor>Eric</OriginalAuthor>
<OriginalAuthorEmail>er**@erickraemer.com</OriginalAuthorEmail>
</Info>
<Cards>
<Section>GI</Section>
<Category>Neoplasm</Category>
<First>Finding</First>
<Second>Differential</Second>
<Third>Distinguishing Features</Third>
<DateReviewed>2001-09-03T00:00:00.0000000-05:00</DateReviewed>
<KnowledgeLevel>1</KnowledgeLevel>
</Cards>
<Cards>
<Section>GI</Section>
<Category>Neoplasm</Category>
<First>Finding</First>
<Second>Mnuemonic</Second>
<Third>Differential/Distinguishing Features</Third>
<DateReviewed>2001-09-03T00:00:00.0000000-05:00</DateReviewed>
<KnowledgeLevel>1</KnowledgeLevel>
</Cards>
<Cards>
<Section>GI</Section>
<Category>Neoplasm</Category>
<First>Finding/Entity</First>
<Second>Questions</Second>
<Third>Information about findings, answers to questions</Third>
<DateReviewed>2001-09-03T00:00:00.0000000-05:00</DateReviewed>
<KnowledgeLevel>1</KnowledgeLevel>
</Cards>
</NewDataSet>
Nov 12 '05 #1
2 3586
Why not use MS Excel to store the table of data (whatever it is) and then
write a small export utility, maybe ~20 lines of code, to extract the
DataSet and write it to an XML file?

Here's an example that reads a dataset from MS Excel.
http://www.winisp.net/cheeso/srcview...xcel-adonet.cs

Using this as a start, all you would need to do is
modify the query to represent your spreadsheet (use a "named range" in MS
Excel)
modify the xls filename the program is using
add a statement that writes the dataset, as xml, to Console.Out or to a
specified file.

-Dino
"Eric" <er**@nospam.com> wrote in message
news:ux**************@TK2MSFTNGP09.phx.gbl...
Hi,

I am making a flash card type program for the PocketPC. I am using a dataset to contain the cards, all of that works great.

I thought I would just import the XML into word or excel, copy/paste the
data from other sources or add new records, and then save it as xml. As i
have Office XP, that does not work.

Is there a freeware XML dataset editor out there? I've found many editors, but I just need something simple - oriented towards a dataset with a couple of tables.

Making something like this would not be that hard, but would sort of be
re-inventing the wheel.

Any suggestions?

thanks

e
-------

<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<Info>
<Version>1.0</Version>
<DateCreated>2001-09-03T00:00:00.0000000-05:00</DateCreated>
<OriginalAuthor>Eric</OriginalAuthor>
<OriginalAuthorEmail>er**@erickraemer.com</OriginalAuthorEmail>
</Info>
<Cards>
<Section>GI</Section>
<Category>Neoplasm</Category>
<First>Finding</First>
<Second>Differential</Second>
<Third>Distinguishing Features</Third>
<DateReviewed>2001-09-03T00:00:00.0000000-05:00</DateReviewed>
<KnowledgeLevel>1</KnowledgeLevel>
</Cards>
<Cards>
<Section>GI</Section>
<Category>Neoplasm</Category>
<First>Finding</First>
<Second>Mnuemonic</Second>
<Third>Differential/Distinguishing Features</Third>
<DateReviewed>2001-09-03T00:00:00.0000000-05:00</DateReviewed>
<KnowledgeLevel>1</KnowledgeLevel>
</Cards>
<Cards>
<Section>GI</Section>
<Category>Neoplasm</Category>
<First>Finding/Entity</First>
<Second>Questions</Second>
<Third>Information about findings, answers to questions</Third>
<DateReviewed>2001-09-03T00:00:00.0000000-05:00</DateReviewed>
<KnowledgeLevel>1</KnowledgeLevel>
</Cards>
</NewDataSet>

Nov 12 '05 #2
Thanks. That will work great.

e
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message
news:uJ**************@TK2MSFTNGP10.phx.gbl...
Why not use MS Excel to store the table of data (whatever it is) and then
write a small export utility, maybe ~20 lines of code, to extract the
DataSet and write it to an XML file?

Here's an example that reads a dataset from MS Excel.
http://www.winisp.net/cheeso/srcview...xcel-adonet.cs

Using this as a start, all you would need to do is
modify the query to represent your spreadsheet (use a "named range" in MS Excel)
modify the xls filename the program is using
add a statement that writes the dataset, as xml, to Console.Out or to a
specified file.

-Dino

Nov 12 '05 #3

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

Similar topics

4
by: s-galit | last post by:
im trying to save the content of a DataSet to xml file but im getting the message- " This file has modified outside of the source editor do you want to reload it ? " what im missing? this is...
19
by: Adam Short | last post by:
I am trying to write a routine that will connect a .NET server with a classic ASP server. I know the following code doesn't work! The data is being returned as a dataset, however ASP does not...
0
by: Frosty | last post by:
Hi I am using the VS xsd designer to create a strongly typed dataset. The dataset is apparently successfully created, with no warnings or errors given. Is it not then to be expected that this...
4
by: Kathryn | last post by:
Hello, When I try to load this xml file (see below) into an asp.net dataset using the following code: ds.ReadXml("xmlfilepath\xmlfile.xml", XmlReadMode.Auto) I get the following error: ...
2
by: John Holmes | last post by:
I have a web interface where the user types in ID's one at a time. After an ID is typed in, a button is clicked and the button click event has code that does a query and returns a data reader and...
5
by: sambuela | last post by:
All data controls and wizards about dataset, adapter or dataviewer disappear in the IDE. How can i let them appear again? It is because i want to generate dataset by these wizard. Thanks in...
8
by: GaryDean | last post by:
In an 2.0 asp app I used vs.net 2005 to create a TableAdapter:Dataset in my App_code directory. I also created a new vb class in that same directory. I have two issues: 1. I notice that there...
3
by: Mukesh | last post by:
Hi all I have to transfer a dataset and a string from a webform to a user control on the page without using viewstate or session or cookies . properties method is not working properly. if...
2
by: Derek Hart | last post by:
If I save an xml file (with the schema) from a dataset, using Dataset.WriteXML, I then wish to edit the file using XML Notepad. If I just open it in XML Notepad and save it, without making any...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.