다음과 같은 XML 문서가 있습니다.
<?xml version="1.0" encoding="UTF-8"?>
<records type="array">
<record>
<name>svn</name>
<record-type>A</record-type>
<ttl type="integer">86400</ttl>
<zone-id type="integer">69075</zone-id>
<aux type="integer">0</aux>
<id type="integer">xxx</id>
<active>Y</active>
<data>xxx.xxx.xxx.xxx</data>
</record>
<record>
<name>domain.tld.</name>
<record-type>NS</record-type>
<ttl type="integer">86400</ttl>
<zone-id type="integer">xxx</zone-id>
<aux type="integer">0</aux>
<id type="integer">xxx</id>
<active>Y</active>
<data>domain.tld.</data>
</record>
<record>
<name>blog</name>
<record-type>A</record-type>
<ttl type="integer">86400</ttl>
<zone-id type="integer">xxx</zone-id>
<aux type="integer">0</aux>
<id type="integer">xxx</id>
<active>Y</active>
<data>xxx.xxx.xxx.xxx</data>
</record>
</records>
모든 /records/record/name
형제 /records/record/record-type
를 값과 일치시키는 방법은 A
무엇입니까?
record
합니다name
.