How about having a detecting-function isMobileUser() - that detects
whether the output should be html or wml - changing the top element of
the stylesheet as something like this:

html(one line):
$this->xsldata .= '<xsl:output method="html" version="1.0"
encoding="utf-8" indent="yes" omit-xml-declaration="yes"
standalone="yes" media-type="application/xml+xhtml"/>'."\n";

or wml (one line):
$this->xsldata .= '<xsl:output doctype-public="-//WAPFORUM//DTD WML
1.3//EN" doctype-system="http://www.wapforum.org/DTD/wml13.dtd"/>'."\n";

Regards

Sigurd


_______________________________________________
Phpgroupware-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers

Reply via email to