PHP Classes

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Ben Yacoub Hatem  >  DTD 2 PHP  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme file
Class: DTD 2 PHP
Generate a class to output DTD compliant documents
Author: By
Last change:
Date: 11 years ago
Size: 689 bytes


Class file image Download
Author : Ben Yacoub Hatem <>

This class is meant to generate php class based on DTD description.

dtd2php class is used with PHPVoice package (

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