#1   Report Post  
Muhammad Amjad
 
Posts: n/a
Default Word 2003 Table XSL

Hi there,
+ Created a Word document (e.g. Student.doc).
+ Attached a Schema to it (e.g. Student.xsd).
+ Drew a Table with 2 Rows and 2 Columns.
+ Added the root Tag to whole document (e.g. student).
+ Inserted Headings in the 1st row (e.g. Name, Age).
+ Inserted Tags from the Schema in each column of 2nd row (e.g.
sname, sage).
+ Saved the document As XML with Word ML (e.g. StudentML.xml).
+ Again saved the document As XML with Data Only option (e.g.
StudentDataOnly.xml).
+ Used the WML2XSLT.exe to generate Student.XSL from StudentML.xml as
follows;
D:\Program Files\Microsoft Office 2003 Developer Resources\Microsoft
Office 2003 WordprocessingML Transform Inference Toolwml2xslt.exe
C:\StudentML.xml

+ Edited the StudentDataOnly.xml to put more values (just copied the
sname and sage elements once again).
+ Opened the StudentDataOnly.xml in Word 2003 and applied the transform
i.e. Student.XSL.
+ The output is not according to my expectations. It created 2 more
cells in the same row and puts the values there. However it should have
created another row and put name and age there.

Any ideas?

I am using Word 2003 and Word XML SDK. Thanks for you help.

Cordially,
M.Amad

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hard space between words. Sandy L Microsoft Word Help 7 May 5th 06 08:25 PM
Locking Two Words Together to Make a Proper Compound Noun in Word WorkingWoman Microsoft Word Help 2 April 7th 05 02:33 PM
In Word, how can I see all files (*.*) in "save as"? citizen53 New Users 8 April 4th 05 04:56 PM
Word 2003 Table Drop down menu defect? Bob Giel New Users 1 March 2nd 05 02:25 PM
copying files from Wordperfect to Microsoft Word Juliet New Users 1 January 31st 05 05:41 PM


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

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"