我想对 xml 标签进行分面,并对标签值进行子分面,我有一个 xml 文档,如下所示
<TermiteJServiceResponse>
<EntityTypeHit type="DRUG">
<HitCollection>
<Hit type="DRUG" id="CHEMBL1201288">
<Name>Dantrolene</Name>
</Hit>
<Hit type="DRUG" id="CHEMBL286398">
<Name>Propylene Glycol</Name>
</Hit>
<Hit type="DRUG" id="GXC376D7F8C0E7A0C3787E8A2384DC56E80">
<Name>PEG400</Name>
</Hit>
</HitCollection>
</EntityTypeHit>
<EntityTypeHit type="COMPOUNDS">
<HitCollection>
<Hit type="COMPOUNDS" id="A-409912.5">
<Name>A-409912.5</Name>
</Hit>
<Hit type="COMPOUNDS" id="A-409912">
<Name>A-409912</Name>
</Hit>
</HitCollection>
</EntityTypeHit>
<EntityTypeHit type="GENE">
<HitCollection>
<Hit type="GENE" id="TRH">
<Name>thyrotropin-releasing hormone</Name>
</Hit>
</HitCollection>
</EntityTypeHit>
<EntityTypeHit type="BIOPROC">
<HitCollection>
<Hit type="BIOPROC" id="BP70302">
<Name>infusion</Name>
</Hit>
<Hit type="BIOPROC" id="D009200">
<Name>Myocardial Contraction</Name>
</Hit>
<Hit type="BIOPROC" id="BP70198">
<Name>cmax values</Name>
</Hit>
<Hit type="BIOPROC" id="D001835">
<Name>Body Weight</Name>
</Hit>
<Hit type="BIOPROC" id="D062186">
<Name>Arterial Pressure</Name>
</Hit>
<Hit type="BIOPROC" id="BP70209">
<Name>contractility</Name>
</Hit>
<Hit type="BIOPROC" id="D006339">
<Name>Heart Rate</Name>
</Hit>
<Hit type="BIOPROC" id="BP70316">
<Name>intravenal</Name>
</Hit>
</HitCollection>
</EntityTypeHit>
<EntityTypeHit type="SPECIES">
<HitCollection>
<Hit type="SPECIES" id="D051381">
<Name>Rats</Name>
</Hit>
</HitCollection>
</EntityTypeHit>
</TermiteJServiceResponse>
我想根据上面的文档 DRUGS 和药物名称的子方面以及类似的化合物和化合物名称的子方面进行分面