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 / March 2004

Tip: Looking for answers? Try searching our database.

Merge with XML document on webserver

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
IT - 23 Mar 2004 21:47 GMT
Hello,

Is it possible with word 2k and newer to look at an xml document on a
webserver and to then mail merge the contents of this xml ( or even text
file).
If so could you please point me in the right direction!

Cheers
Peter Jamieson - 24 Mar 2004 10:53 GMT
As far as I know:
a. You can open the XML file to look at it, directly from the webserver.
However, in WOrd 2000/2002 all you will probably see is the raw XML text,
with all the tags. In Word 2003 you may get to see a rather better layout.
If the XML file is essentially the equvalent of a flat-file database wrapped
up in XML encoding, you might be better off trying to open it in Excel if
you have that.
b. Word cannot use /any/ file located at a URL as a data source, unless it
is also on a Windows share and you can refer to it using a a UNC name
(\\servername\sharename\path) or drive letter/path name type name
(n:\pathname). So if you can only refer to the file via a URL, you have to
make a local copy of the file before you can use it as a data source. For
delimited text files, you should then be able to use the built-in facilities
of Word to attach it as a data source. For .xml files, you would either have
to be able to open the file and save it in another format (Word 2003 might
be able to do that; Excel might be able to it) or use e.g. an xslt transform
to generate a format Word can work with. There is potentially another way
that involves writing a Word text converter (I have one but it's incomplete
and extremely crude).

Signature

Peter Jamieson - Word MVP
Word MVP web site http://word.mvps.org/

> Hello,
>
[quoted text clipped - 4 lines]
>
> Cheers
IT - 24 Mar 2004 19:28 GMT
Thank you for your help it is much appreciate , the route that i am going to
use is to create a common delimited file on the webserver , download it and
then mail merge from that!

Cheers

> As far as I know:
>  a. You can open the XML file to look at it, directly from the webserver.
[quoted text clipped - 24 lines]
> >
> > Cheers
 
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.