我有一个名为的对象Message_Content
,其中包含以下XML
<CONFIRM_ABC_BA_007>
<BSR>
<VERB>PROCESS</VERB>
<NOUN>AB</NOUN>
<REVISION>001</REVISION>
</BSR>
<SENDER>
<LOGICALID>XYHXMK</LOGICALID>
<COMPONENT>SCTWLI</COMPONENT>
<TASK>AB</TASK>
<REFERENCEID>0000000000504205</REFERENCEID>
<CONFIRMATION>2</CONFIRMATION>
<LANGUAGE>ENG</LANGUAGE>
<CODEPAGE>ISO 8859-1</CODEPAGE>
<AUTHID>SAPWLI</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2013</YEAR>
<MONTH>05</MONTH>
<DAY>22</DAY>
<HOUR>17</HOUR>
<MINUTE>20</MINUTE>
<SECOND>09</SECOND>
</DATETIME>
<DATAAREA>
<CONFIRM_BOD>
<ACKCODE>0</ACKCODE>
<DESCRIPTN>Accepted</DESCRIPTN>
</CONFIRM_BOD>
</DATAAREA>
</CONFIRM_ABC_BA_007>
现在,我想在 HTML 页面中的键值对中使用 Jquery 对其进行解析<span id="output"></span>
,例如:
动词:过程
名词:AB
逻辑ID:XYHXMK