<?php /** * Another example of how to build an * XML Document with the WML support * that phpHtmlLib provides. * * @author Walter A. Boring IV <waboring@newsblob.com> * @package phpHtmlLib * @subpackage examples * @version 2.0.0 * */
/** * Include the phphtmllib libraries */ include_once("includes.inc");
//WML helpers aren't included in the //autoload.inc by default include_once(PHPHTMLLIB.'/src/wml/WMLTAGS.inc'); include_once(PHPHTMLLIB.'/src/wml/wml_utils.inc');
//build the wml document object. $wmldoc = new WMLDocument;
//turn off the rendering of the http Content-type //so we can see the output in a non WAP browser. //$wmldoc->show_http_header(FALSE);