Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / November 2003

Tip: Looking for answers? Try searching our database.

word & XML

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
motupal - 18 Nov 2003 21:22 GMT
Dear All,

I am working in ASP.Net, and using VB.Net.

I have the XML file and I need to write the XML data to a
word document, the report may run into 100s of pages,
hence I recoken, that a template has to be create on the
fly and the Mailmerge fields needs to be updated.

But I dont know how to go about, any sample code, advise
will be greatly appreciated.

Thanks in advance.

Regards
motupal
Peter Jamieson - 19 Nov 2003 07:47 GMT
First, you should see

INFO: Considerations for Server-Side Automation of Office
http://support.microsoft.com/default.aspx?kbid=257757:

> I have the XML file and I need to write the XML data to a
> word document, the report may run into 100s of pages,
> hence I recoken, that a template has to be create on the
> fly and the Mailmerge fields needs to be updated.

We don't really have much to go on here. I would have lots of questions,
e.g.
a. How complex is the XML?
b. Does the output have to be in Word format? Instead, could you for
example import the XML data into Access or SQL Server and use standard
reporting tools to generate useful output?
c. If the output has to be in Word format,
   - Do you have Word 2003? If so, could you use its new XML features to do
what you need withut a merge?
   - Does it have to be in Word .doc format? Could you just use XSLT to
transform your XML into HTML that could be opened in Word (and perhaps have
a few headers attached or some such)
   - Why are you thinking in terms of generating a template first? Is it
because you need to determine the content and layout on the basis of what
you find in the XML file?

And so on...

--
Peter Jamieson - Word MVP

> Dear All,
>
[quoted text clipped - 12 lines]
> Regards
> motupal
Peter Jamieson - 19 Nov 2003 07:53 GMT
I meant to mention that the other thing you need to consider is that Word
(even Word 2003) does not have a native method for using XML format data as
the data source for a merge.

--
Peter Jamieson - Word MVP

> First, you should see
>
[quoted text clipped - 43 lines]
> > Regards
> > motupal
- 19 Nov 2003 23:51 GMT
Hi
Thanks for your time, the XML is very simple, nothing
complex, I think I just need to Apply XSLT and open it in
the word format.

I really appreciate for taking time to reply in detail.

Yes I am using the word 2003 and I recoken that the merge
would be automatic.

Thanks againg for your help.

Kind Regards
pmotupal

>-----Original Message-----
>First, you should see
[quoted text clipped - 46 lines]
>
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.