Previous in Contents Next in Contents

GetXMLDocument Method

The GetXMLDocument method returns an XML Document object as per the XML object model. This object reflects all objects defined within the Project hierarchy including channels, items, and so on. 

VBScript Syntax

IProject.GetXMLDocument

Parameters

None

Return Value

The new XML Document object's dispinterface. (VT_DISPATCH)

Remarks

For a complete description of the XML object model, see the Microsoft® Developer Network Online.

This method can be useful to cast the information stored in Push objects into the corresponding XML Objects for use with applications that require this model specifically.   

Example

Set XMLDoc = Project.GetXMLDocument
wscript.echo XMLDoc.GetXML()

© 1997-2000 Microsoft Corporation. All rights reserved.