SaveProjectToXMLDOM Method

English Query

English Query

SaveProjectToXMLDOM Method

Saves a copy of the current project into an XMLDOMDocument object.

Applies To

EQModel Object

Syntax

EQModel.SaveProjectToXMLDOM(XMLDOMDocument)

Parts

EQModel

Object variable into which model information is loaded.

XMLDOMDocument

Newly created object variable to which the project is saved.

Remarks

The changes made to the XMLDOMDocument are made to a private copy and do not alter the English Query model unless the project is opened and then saved. Use the OpenProjectFromXMLDOM method to load the private copy into English Query and update English Query's copy of the model. Then use the SaveProject method to save the changes.

The errors encountered while compiling the English Query project are placed in EQModel.Errors.

English Query 2000 is compiled with XML 2.0, whereas SQL Server 2000 uses XML 2.6. To prevent compilation errors, select XML 2.0 in the References section of your English Query project.

See Also

Compile-Time Error Messages (Authoring Object Model)

CreateProject Method

EQError Object

OpenProjectFromXMLDOM Method

SaveProject Method