Comments

1 comment

  • Avatar
    Jake

    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&#xA;line2&#xA;line3</text>
     </addTextToFile>
    

    Similarly, a tab can be encoded as &#x9;

Please sign in to leave a comment.