XMLSpy API

Documents.NewFileFromText

Home Prev Top Next

Method: NewFileFromText (strText as String, strType as String) as Document

 

Parameters

strText

The content of the new document in plain text.

 

strType

Type of the document to create (i.e. "xml").

 

Return Value

The method returns the new document.

 

Description

NewFileFromText creates a new document with strText as its content.

© 2019-2025 Altova GmbH