Zum Hauptinhalt springen

Write file

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

<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

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

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

<!-- iXML -->