XML file validation using PHP
Get the solution ↓↓↓Solution:
Have you tried XMLReader? I recall this one as being pretty decent, though I don't think I tested it on anything as large as 67 MB.
Answer
Solution:
try {
libxml_use_internal_errors(true);
$oXml = new SimpleXMLElement($sXml, LIBXML_DTDVALID);
} catch (Exception $e) {
$aErrors = libxml_get_errors();
}
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: 403 this action is unauthorized.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.