Hmm, it appears that I missed out the "$this->" bit from 6 places in the code. Here's the places that you will want to fix from version 1.N.5 if you can't wait for the next release.

diff -r1.1 xpath.class.php

219c219

< return setAttributes($absoluteXPath, $aNewAttributes);

---

> return $this->setAttributes($absoluteXPath, $aNewAttributes);

221c221

< return setAttributes($absoluteXPath, $attributes);

---

> return $this->setAttributes($absoluteXPath, $attributes);

248c248

< return setAttributes($absoluteXPath, $attributes);

---

> return $this->setAttributes($absoluteXPath, $attributes);

838c838

< return _setContent($absoluteXPath, $value);

---

> return $this->_setContent($absoluteXPath, $value);

854c854

< return _setContent($absoluteXPath, $value, TRUE);

---

> return $this->_setContent($absoluteXPath, $value, TRUE);

879c879

< _setContent($absoluteXPath, $newContent);

---

> $this->_setContent($absoluteXPath, $newContent);


 

Oops :o/

Nigel

===========================
For the most recent version of phpxml, V1.N.X, and an archive of this list visit:  http://www.sourceforge.net/projects/phpxmldb

Reply via email to