给xml的title和description加上转义
This commit is contained in:
parent
4745e2dead
commit
359dbcd887
|
@ -3732,10 +3732,10 @@ class Admin_DataController extends Zend_Controller_Action
|
||||||
}
|
}
|
||||||
$doi.='</contributors>
|
$doi.='</contributors>
|
||||||
<titles>
|
<titles>
|
||||||
<title>'.$row['title'].'</title>
|
<title><![CDATA['.$row['title'].']]</title>
|
||||||
<subtitle></subtitle>
|
<subtitle></subtitle>
|
||||||
</titles>';
|
</titles>';
|
||||||
$doi.='<description>'.$row['description'].'</description>';
|
$doi.='<description><![CDATA['.$row['description'].']]</description>';
|
||||||
$doi.='<publisher><publisher_name>'.$row['publisher'].'</publisher_name></publisher>';
|
$doi.='<publisher><publisher_name>'.$row['publisher'].'</publisher_name></publisher>';
|
||||||
$doi.='<doi_data>
|
$doi.='<doi_data>
|
||||||
<doi>'.$row['doi'].'</doi>
|
<doi>'.$row['doi'].'</doi>
|
||||||
|
|
Loading…
Reference in New Issue