Re: Overloading Tags with PHP functions

From: Date: Wed, 16 Jan 2002 19:10:15 +0000
Subject: Re: Overloading Tags with PHP functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77297@lists.php.net to get a copy of this message
Hi, I think you should take a look at the patXMLRenderer, which does something similar to what you started doing in an object-oriented approach. Furthermore I'm using namespaces to identify if a tag has a method attached to it. The differnce is that I'm transforming the remianing static XML to HTML using a template class, but it's also possible to disable this transformation, which let's you use XHTML instead of HTML. You may take a look at it at: http://www.php-tools.de/index.php?file=patXMLRendererOverview.xml Stephan -- PHP Application Tools - a programmers best friend. <schst@php-tools.de> [--] http://www.php-tools.de

« previous php.dev (#77297) next »