Defining valid XML elements defined by XSD in PHP

I am trying to write a script in PHP5 that will be:

  • read in xsd
  • let the user specify the element / tag name that will serve as the context
  • lists the items allowed inside this XSD-based item / tag

So far, I can see solutions for using XSD to validate XML files. Has anyone done something like this before?

+3
source share
1 answer

http://github.com/moyarada/XSD-to-PHP PHP- XSd XML-/unmarshalling. , PHP-, IDE , / . /test/Php2XmlTest.php

0

Source: https://habr.com/ru/post/1715862/


All Articles