<write-lines>
Purpose/Function
Writes lines to file; either overwrites or appends.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
path |
|
required |
file to write to |
append |
|
|
if |
includeEmptyLines |
|
|
if |
Elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
|
0:N |
line to add to the list |
|
|
0:N |
entire list of lines to write (will be added to the main list) |
ReturnValues
None.
Examples
... <write-lines path="test.txt"> <line>First line</line> <line>Second line</line> <lines> <value>Third line</value> <value>Fourth line</value> </lines> <lines>${list-with-2-lines}</lines> <line>${seventh-line}</line> </write-lines> ...