Доброго дня.
Никак не получается распарсить XML на PHP
Может поможете?
Пример ответа:
<?xml version="1.0" encoding="UTF-8"?>
<ApiResponse xmlns="http://api.namecheap.com/xml.response" Status="OK">
<Errors />
<RequestedCommand>namecheap.domains.getList</RequestedCommand>
<CommandResponse Type="namecheap.domains.getList">
<DomainGetListResult>
<Domain ID="127" Name="domain1.com" User="owner" Created="02/15/2014" Expires="02/15/2020" IsExpired="false" IsLocked="false" AutoRenew="false" WhoisGuard="ENABLED" />
<Domain ID="381" Name="domain2.com" User="owner" Created="04/28/2014" Expires="04/28/2021" IsExpired="false" IsLocked="false" AutoRenew="true" WhoisGuard="NOTPRESENT" />
</DomainGetListResult>
<Paging>
<TotalItems>2</TotalItems>
<CurrentPage>1</CurrentPage>
<PageSize>10</PageSize>
</Paging>
</CommandResponse>
<Server>SERVER-NAME</Server>
<GMTTimeDifference>+5</GMTTimeDifference>
<ExecutionTime>0.078</ExecutionTime>
</ApiResponse>
По идее получить надо Domain->Name