我想通过排除该内容中的几个标签来检索 xml 的两个标签之间的所有内容。这个的常规表达式是什么?例如,在下面的 xml 中,我想提取标签之间<ASObject mappedClass="com.taliantsoftware.claims.indemnity.PayeeAllocationDTO" encoding="0">
和</ASObject>
排除<updated tagClass="boolean">false</updated> and <voided tagClass="boolean">false</voided>
标签之间的所有内容。
<ASObject mappedClass="com.taliantsoftware.claims.indemnity.PayeeAllocationDTO" encoding="0">
<payeecustomerid tagClass="double">2004570.0</payeecustomerid>
<amount tagClass="double">2131.2</amount>
<new tagClass="boolean">true</new>
<percent tagClass="double">100.0</percent>
<updated tagClass="boolean">false</updated>
<voided tagClass="boolean">false</voided>
<remainderindicator tagClass="boolean">true</remainderindicator>
<detailamountstatustypecode tagClass="String">pnd</detailamountstatustypecode>
<primary tagClass="boolean">true</primary>
<mailtoindicator tagClass="boolean">true</mailtoindicator>
<checkgroupnumber tagClass="double">1.0</checkgroupnumber>
<detailamountstatustypename tagClass="String">Pending</detailamountstatustypename>
</ASObject>