C creating XML nodes

CSDN Q & A 2022-01-15 02:40:21
<?xml version="1.0" encoding="utf-8"?><root code="/T 671.1-2012"><head cs_mine_code="002000013" cs_data_time="2021-12-07 08:36:48" /><data ss_station_code="000005" ss_transducer_code="005A14" ss_station_state="0" ss_transducer_state="4" ss_system_abnormal="1" ss_alarm_stime="1900-01-01 00:00:00" ss_alarm_etime="1900-01-01 00:00:00" ss_deal_measure="" /></root>

Want to be in root Add this effect to the actual node , Only... Can be written in the code root Back code It's a mistake , How do you write this ?
The back is also , Yes xml Don't understand, , consult


thank
Similar articles

2022-01-15

2022-01-15