<msg>
      <title>……</title>
      <author>……</author>
</msg>
比如有这么一个xml, 我用addChild方法添加一个结点之后,发现<msg>
      <title>……</title>
      <author>……</author>
<subnode>...</subnode><subnode>...</subnode></msg>
使用SimpleXML生成XML文档,如何在不同节点之间产生一个换行呢?还有如何产生一个缩进呢?