【发布时间】:2020-03-27 23:54:46
【问题描述】:
原始 XML:
<EbsSendOTPResponse>
<ResponseHeader>
<GUID/>
<GUID2/>
</ResponseHeader>
</EbsSendOTPResponse>
转化为:
<EbsSendOTPResponse type="group">
<ResponseHeader type="group">
<GUID/>
<GUID2/>
</ResponseHeader>
</EbsSendOTPResponse>
我想将 type="group" 属性添加到父标签。
【问题讨论】: