如何插入换行符dbunit数据集

Vla*_*mir 4 xml dbunit dataset

如何在dbunit数据集中插入换行符?像这样:

    <user id="1" 
story="first line
       second line
       third line"/>
Run Code Online (Sandbox Code Playgroud)

如果我以这种方式执行db 中的字段故事,则只会出现由空格分隔的情况,但我需要换行。

Vla*_*mir 6

Upps,我找到了解决方案:

<user id="1" 
story="first line&#13;&#10;second line&#13;&#10;third line"/>
Run Code Online (Sandbox Code Playgroud)