XML字符串如何添加换行符

XML字符串如何添加换行符,xml,Xml,我到底应该向这个XML添加什么来添加在每个返回记录之后递归的换行符 while($ors = mysql_fetch_array($result)) { $strXML .= "<set label='".$ors['Fund_Name']."' value='".$ors['Fund_Yield_Percent']."' />"; } while($ors=mysql\u fetch\u数组($result)) { $strXML.=“”; } 尝试在字符串的和处添加一个\r

我到底应该向这个XML添加什么来添加在每个返回记录之后递归的换行符

while($ors = mysql_fetch_array($result)) 
{
$strXML .= "<set label='".$ors['Fund_Name']."' value='".$ors['Fund_Yield_Percent']."' />";

}
while($ors=mysql\u fetch\u数组($result))
{
$strXML.=“”;
}

尝试在字符串的和处添加一个\r\n或一个\n,就在“