phpでprint_r()を使用して次のようになりました。
SimpleXMLElement Object
(
[@attributes] => Array
(
[term] => hello world
[scheme] => Organization
)
)
php simplexmlを使用してスキームノードにアクセスするにはどうすればよいですか?@記号が原因で、ノード@attributesの操作に問題があります