Answer the question
In order to leave comments, you need to log in
How to display xml code in php beautifully (with hyphens)?
Good evening.
I have a response from the soap server in the form of an envelope:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><SOAP-ENV:getBfResponse><parameters><SOAP-ENC:Struct><id>868</id><kom1>Даллас Старз</kom1><kom2>Нэшвилл Предаторз</kom2><date>2019-04-23 03:30:00</date></SOAP-ENC:Struct><SOAP-ENC:Struct><id>12266</id><kom1>Даллас Старз</kom1><kom2>Нэшвилл Предаторз</kom2><date>2020-01-01 22:00:00</date></SOAP-ENC:Struct><SOAP-ENC:Struct><id>21206</id><kom1>Даллас Старз</kom1><kom2>Нэшвилл Предаторз</kom2><date>2020-03-07 22:00:00</date></SOAP-ENC:Struct></parameters></SOAP-ENV:getBfResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question