ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Using PHP 5's SimpleXML
Subject:   xsearch -> xpath
Date:   2005-05-09 04:34:22
From:   KvdnBerg
I'm not sure about this but I think you need to use $s->xpath instead of $s->xsearch, at least in my setup (PHP5 on Apache2 on Linux) xsearch gives an undefined method error while xpath gives the correct results.

1 to 1 of 1
  1. xsearch -> xpath
    2005-12-27 13:53:41  GaryKG [View]

    • xsearch -> xpath
      2009-12-17 14:28:53  registrationsucks2 [View]

1 to 1 of 1