Jump to content

writing an XML validator function


mpsn

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/250145-writing-an-xml-validator-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.