I'm trying to write a script in PHP5 that will:
- read in an XSD
- let the user give an element/tag name which will serve as the context
- output a list of elements allowed within that element/tagname based on the XSD
So far I'm only able to see solutions for using XSDs to validate XML files. Anyone done something like this before?