DTD2PHP
Author : Ben Yacoub Hatem <hatem@php.net>
This class is meant to generate php class based on DTD description.
dtd2php class is used with PHPVoice package (vxml.sf.net).
Sample usage is available in the phpvoice.php script :
* create dtd/PHPVoice/ folder and copy you *.dtd files there
* then create output/ folder
* and finally run the script
Due to dtd specifications, you should make only small changes in dtd file before generating the class. For example with ccxml.dtd, you'll find ELEMENT and ATTLIST of ccxml in the middle of the file. bring them in the beginning of the file, and then run the generator.
Your comments & suggestions are welcome
Hatem |