Problem with XML_XUL
| From: | Igo | Date: | Sun, 29 Aug 2004 14:09:45 +0000 |
| Subject: | Problem with XML_XUL | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14329@lists.php.net to get a copy of this message | ||
Hello.
Sorry for my bad english.
I have the problem with XML_XUL 0.8.1. Examples don`t work from XML_XUL-0.8.1/examples.
windowsXP, PHP Version 4.3.1
XML_Util-0.6.1, XML_XUL-0.8.1,XML_Beautifier-1.1,PEAR-1.3.1
I wrote
//------
error_reporting(E_ALL);
require_once 'XML/XUL.php';
$doc = &XML_XUL::createDocument( );
$doc->addStylesheet('chrome://global/skin/');
$win = &$doc->createElement('Window', array('title'=> 'Example for PEAR::XML_XUL'));
$doc->addRoot($win);
$doc->send();
//------
resault
<br />
<b>Notice</b>: Undefined property: _htmlNs in <b>e:\xul\pear\XML\XUL\Element.php</b> on line <b>456</b><br />
<br />
<b>Notice</b>: Undefined variable: content in <b>e:\xul\pear\XML\XUL\Element.php</b> on line <b>469</b><br />
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window title="Example for PEAR::XML_XUL" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" />