Zum Hauptinhalt springen

Write file

Anatomy

<file:write filename="string">
string
</file:write>

Description: FILE:WRITE writes content to a file.

If the file does not exist, it will implicitly be created. Otherwise, the existing file is overwritten.

FILE:WRITE is the complement of the FILE:READ operation.

Attributes

NameTypeDescriptionDefined By
filenamestringFilename/URL file:write

Examples

Example

<file:write filename="./test/ixml.inc">iXML</file:write>

<output>
<file:read filename="./test/ixml.inc"/>
</output>

<!-- iXML -->