Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Possible to create a word Doc from several XML's?

Status
Not open for further replies.

Dijital

MIS
Mar 15, 2002
47
US
I have a group of XML files, all the same structure. They are created from an ASP. I wanted to try to create a conglomerate of all the data from the XML into a word document. is this possible?

-Jim Connors
 
You can wait for the new version of Office to come out. It will feature XML-based office documents including Word Documents.

If you can't wait and you must use ASP then install the MSXML 4.0 SDK and open word from ASP and go to town. When you make this statment:

Set objWord = Server.CreateObject("Word.Application")

this implies that you are NOT using the server this script is running on as a production server and that you have Word installed on this server.

Use the objects in MSXML to load your XML and use the objWord object variable. A bit bulky but barely doable.
Bryan Wilhite
info@songhaysystem.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top