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

RDBMS table definition to WordXML Word table

Hi,

I would like to take my relation database table definitions
(SQL Server from sysobjects & syscolumns) and convert them to
XML so that Word for Windows can open them and have them appear
as a formatted Word table.

What I should look at to do this? Is it even feasible, practicable? I
read the Word XML is a bit of a kludge.

I saved a simple Word table as XML and had a look.
It didn't look too pretty. I could hack something but I am sure
that there is a more elegant (somewhat) way of doing this.

Regards

Liam

Jul 20 '05 #1
4 1566
A simple HTML table will open in Word no problem. Since a well-formed
HTML table is fully compatible with XML, use whatever tool you would
use to output your database data as HTML, and then simply open
it in Word, or cut-and-paste the HTML text into an existing Word
document.

Jul 20 '05 #2
Of course, I hadn't thought of that. Thank you.

For reference, is there a way how this can be done using Word XML. Like
some kind of XML template file into which I can run the data from the
database to produce Word XML.

Regards

Liam

Jul 20 '05 #3
As you already know, the "native XML" format of Word has a
lot of 'not-so-pretty' formatting and stuff in it. Absent additional
knowledge of what programming tools you use, it is best to
recommend HTML if you want a quick-and-easy way to translate
between plain datbase tables and something pretty that works
with Word (and does not take a lot of time to figure out).

Jul 20 '05 #4
I now have it working very nicely using HTML. Thank you.

I am curious to know what alternative approaches you think that one
could use to do this, disregarding tools knowledge.

Liam

Jul 20 '05 #5

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

Similar topics

61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
3
by: Roamer | last post by:
Can someone please help with table positioning on this page http://rmhh.co.uk/occup/Test3.html It parses fine for me and nearly all my users, but some, using IE6 and NS7.1 report row...
4
by: Arijit Chatterjee | last post by:
I heard that MS Access is not at all a RDBMS.But why? Only the security feature in Access is low.We can't create multiple logins or... Other than that everything is available.So why not a...
4
by: dough | last post by:
I have a hash table with seperate chaining with a bunch of words in it. Here is my declaration: typedef struct word *word; struct word { int count; char *s; word next; };
43
by: sinister | last post by:
Is MS Access a true RDBMS?
1
by: dananrg | last post by:
I can handle making the connections and running queries, but what's the best way to process table rows returned in Python? What about turning a table definition into an object? Just looking for...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
6
by: Thomas Guettler | last post by:
Hi, most of the time I use ZODB/Durus to store my data. I like it, but I know that it has some weaknesses: - only accesible from python - I need to code your indexes for fast searching...
4
bugboy
by: bugboy | last post by:
I'm inserting a new word into table 'w' and a definition into table 'c' which are linked in table 's' which is the relation table for the many to many relationship between 'w' and 'c'. I've been...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...

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.