Hey guys,
I'm trying to make a script to check the W3C validator.
I have it so that it gets the page results, using cURL.
The response comes in soap 1.2 format, but I don't know how to get the actual result.
I'm querying the page "http://validator.w3.org/check?uri=http%3A%2F%2Fwww.arkanes-arkade.co.uk&output=soap12".
I've tried to parse the response with simplexml and the DOMDocument, but not had any luck.
The nodes that I need to get are <m:validity>, <m:errorcount>, and <m:warningcount>. Theres only one of each of these to appear, and they are all value nodes, not containers.
Can anyone give me any suggestions on how to read this?
Thanks