The knowledge base is no longer actively updated, we have moved all content to our Community Support Forum
How to add a new line in XML
| Author: BitRock Support Date: July 21, 2009 08:50 Tags: |
Installbuilder
Actions |
Sometimes you need to add a new line ("\n") to a field in your XML project file. The correct way of doing this in XML is using the 
 escape code. Your code should look as follows:
<addTextToFile> <file>${installdir}/foo.txt</file> <text>line1
line2
line3</text> </addTextToFile> |
Similarly, a tab can be encoded as