mpsn Posted October 31, 2011 Share Posted October 31, 2011 Hi, I found this very good tutorial at IBM's site: http://www.ibm.com/developerworks/xml/library/x-validxphp/ BUT my question is, what if any arbitrary XML file is passed passed to this xml validator function as parameter (that I will soon write), so meaning there may not be an xml schema created, so how would I validate it then b/c the link above assumes there a schema is made to use to validate. Any help much appreicated! Quote Link to comment https://forums.phpfreaks.com/topic/250145-writing-an-xml-validator-function/ Share on other sites More sharing options...
trq Posted October 31, 2011 Share Posted October 31, 2011 Without a valid schema there are no rules to validate against. Quote Link to comment https://forums.phpfreaks.com/topic/250145-writing-an-xml-validator-function/#findComment-1283626 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.