Problem with XML_XUL
[email protected] (Igo) Sun, 29 Aug 2004 11:41:27 +0400
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
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" />