How to print the XML data using foreach in laravel 5.6 function please suggest any solutions
here attached my XML data
<?xml version="1.0" encoding="utf-8"?> <interface-response> <tldlist> <tld> <tld>co.uk</tld> </tld> <tld> <tld>eu</tld> </tld> <tld> <tld>live</tld> </tld> <tld> <tld></tld> </tld> <tldcount>4</tldcount> </tldlist> <Command>GETTLDLIST</Command> <APIType>API</APIType> <Language>eng</Language> <ErrCount>0</ErrCount> <ResponseCount>0</ResponseCount> <MinPeriod></MinPeriod> <MaxPeriod>10</MaxPeriod> <Server>SJL1VWRESELL_T</Server> <Site>eNom</Site> <IsLockable></IsLockable> <IsRealTimeTLD></IsRealTimeTLD> <TimeDifference>+0.00</TimeDifference> <ExecTime>0.000</ExecTime> <Done>true</Done> <TrackingKey>20caefc5-035d-4a3d-8bbe-2743ea99ea8b</TrackingKey> <RequestDateTime>5/3/2018 3:02:01 AM</RequestDateTime> <debug><![CDATA[]]></debug> </interface-response>
please suggest any solution to print the XML data in my blade view
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire