Using xml Syntax Highlighting
- <?xml version="1.0" encoding="UTF-8"?><epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"><response><result code="1000"><msg>Command completed successfully</msg></result><msgQ count="156" id="307886"/><resData><host:chkData xmlns:host="urn:ietf:params:xml:ns:host-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:host-1.0 host-1.0.xsd"><host:cd><host:name avail="0">ns1.host.com</host:name><host:reason>In use</host:reason></host:cd></host:chkData></resData><trID><clTRID>ABC-12345</clTRID><svTRID>52495643</svTRID></trID></response></epp>
Coloreado en 0.002 segundos, usando GeSHi 1.0.8.4
en el que le sigue,
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="UTF-8"?>
- <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
- <response>
- <result code="1000">
- <msg>Command completed successfully</msg>
- </result>
- <msgQ count="156" id="307886"/>
- <resData>
- <host:chkData xmlns:host="urn:ietf:params:xml:ns:host-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:host-1.0 host-1.0.xsd">
- <host:cd>
- <host:name avail="0">ns1.host.com</host:name>
- <host:reason>In use</host:reason>
- </host:cd></host:chkData>
- </resData>
- <trID>
- <clTRID>ABC-12345</clTRID>
- <svTRID>52495643</svTRID>
- </trID>
- </response>
- </epp>
Coloreado en 0.002 segundos, usando GeSHi 1.0.8.4
El problema principal, es que los XML entrantes, son distintos cada vez que se reciben del server. ¿Alguna sugerencia de cómo ordenar estos XML por nodos o algo así?
Muchas gracias.