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,etc. 

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's 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-1998 Microsoft Corporation. All rights reserved.