XML:
<amenities>
<record>
<thekey>77</thekey>
<thevalue>Balcony</thevalue>
</record>
<record>
<thekey>75</thekey>
<thevalue>Cable</thevalue>
</record>
<record>
<thekey>35</thekey>
<thevalue>High Speed Internet</thevalue>
</record>
<record>
<thekey>16</thekey>
<thevalue>Fireplace</thevalue>
</record>
<record>
<thekey>31</thekey>
<thevalue>Garage</thevalue>
</record>
<record>
<thekey>32</thekey>
<thevalue>Phone</thevalue>
</record>
</amenities>
我需要检查设施中的每条记录,以确定是否存在“35”(高速互联网)。便利设施的记录可能会有所不同。有时它会有 35 个(高速互联网),有时它不会。我需要能够在 XSLT 中检查这一点。