Chapter 6. Using external XML data in documents Word Script Developer Task
Complete XML documents
XML search results
Web services
Automatic event-based updates
Word can access external data and insert it in your XML documents. You can accomplish tasks such as looking up an address in an external XML document, importing canned text, or getting information about a ZIP code from a Web service.
This chapter will show you how to:
Access XML document sources from a file system or with a URL
Get data from Web services using a SOAP interface
We'll also explain how to refresh external data automatically when changes are made to the document.
Skills required
Some knowledge of Visual Basic for Applications (VBA) and the Word object model. The section on Web services assumes a basic knowledge of Web services. For more information on Web services, see Chapter 19, "Web services introduction", on page 414 and Chapter 23, "Web services technologies", on page 484.