Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 10 years ago
Size: 689 bytes
 

Contents

Class file image Download
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