2
我想要做的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>
我想在上面的基礎上,以面處的XML文檔文檔藥物和藥物名稱的副方面和化合物名稱上的類似化合物和子方面