我正在尝试为<cookie>
&之间的数据和 &之间</cookie>
的数据(尾引号)过滤此代码account-id="
"
<?xml version="1.0" encoding="utf-8"?>
<results>
<status code="ok"/>
<common locale="en" time-zone-id="85">
<cookie>na3breezfxm5hk6co2kfzuxq</cookie>
<date>2012-11-11T16:26:52.713+00:00</date>
<host>http://meet97263421.adobeconnect.com</host>
<local-host>pacna3app09</local-host>
<admin-host>na3cps.adobeconnect.com</admin-host>
<url>/api/xml?action=common-info</url>
<version>8.2.2.0</version>
<tos-version>7.5</tos-version>
<product-notification>true</product-notification>
<account account-id="1013353222"/>
<user-agent>curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5</user-agent>
</common>
</results>
任何帮助,将不胜感激。
编辑
这是我运行以返回上述 xml 的 curl 命令。
curl -s http://meet97263421.adobeconnect.com/api/xml?action=common-info