Altova XMLSpy 2025 Professional Edition 

The Document interface has the following properties and methods.

 

Properties and Methods

 

Standard automation properties

Application

Parent

 

Various document properties and methods

AsXMLString

SetActiveDocument

Encoding

SetEncoding (obsolete)

Suggestions

Selection

 

XML validation

IsValid

IsValidEx

SetExternalIsValid

IsWellFormed

ValidateOnServer

 

Document conversion and transformation

AssignDTD

AssignSchema

AssignXSL

AssignXSLFO

ConvertDTDOrSchema

ConvertDTDOrSchemaEx

ConvertXMLToFromJSON

GenerateDTDOrSchema

GenerateDTDOrSchemaEx

FlattenDTDOrSchema

CreateSchemaDiagram

ExecuteXQuery

TransformXSL

TransformXSLEx

TransformXSLFO

TransformXSLFOEx

GenerateProgramCode (Enterprise Edition only)

GenerateSchemaDocumentation

GenerateSampleXML

GenerateJSONSchemaDocumentation

ConvertToWSDL20

 

Document export

GetExportElementList

ExportToText

ExportToDatabase

CreateDBStructureFromXMLSchema

GetDBStructureList

 

File saving and naming

FullName

Name

Path

GetPathName (obsolete)

SetPathName (obsolete)

Title

IsModified

Saved

SaveAs

Save

SaveInString

SaveToURL

Close

 

View access

CurrentViewMode

SwitchViewMode

TextView

AuthenticView

GridView

DocEditView (obsolete)

 

Access to XMLData

RootElement

DataRoot

CreateChild

UpdateViews

StartChanges

EndChanges

UpdateXMLData

 

Document objects

Document objects represent XML documents opened in XMLSpy.

 

Use one of the following properties to access documents that are already open XMLSpy:

Application.ActiveDocument

Application.Documents

 

Use one of the following methods to open a new document in XMLSpy:

Documents.OpenFile

Documents.OpenURL

Documents.OpenURLDialog

Documents.NewFile

Documents.NewFileFromText

SpyProjectItem.Open

Application.ImportFromDatabase

Application.ImportFromSchema

Application.ImportFromText

Application.ImportFromWord

Document.ConvertDTDOrSchema

Document.GenerateDTDOrSchema

 

© 2018-2024 Altova GmbH