Women in Technology

Hear us Roar



Article:
  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.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • xsearch -> xpath
    2005-12-27 13:53:41  GaryKG [View]

    Thanks for the tip. I got nowhere with xsearch, but with xpath, it started working.