私はそれをすることができません、ホエーを知らないでください。phpを使用してxmlノードのxlink:hrefという属性の値を取得するにはどうすればよいですか。誰かが私にちょっとしたことをしてください。私はphpに不慣れです
これはXMLドキュメントです
<?xml version="1.0" encoding="UTF-8"?>
<topicMap id="1HLCM3FXT-28MTV0W-50"
xmlns="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink">
<topic id="1HLCM7CDQ-21WQN9G-66">
<instanceOf>
<subjectIndicatorRef xlink:type="simple" xlink:href="http://cmap.coginst.uwf.edu/#concept"/>
</instanceOf>
<baseName>
<baseNameString><![CDATA[feathers]]></baseNameString>
</baseName>
<occurrence>
<resourceRef xlink:type="simple" xlink:href="file:/./Birds_concept - about birds/feathers.txt"/>
</occurrence>
</topic>
</topicMap>