Forum: XML, XSLT and XPATH Oct 2nd, 2009 |
| Replies: 1 Views: 1,007 For those of you could not figure this one out, after a few tries I got it:
$users = new DOMDocument();
$users->load("officedata.xml");
$suser = simplexml_load_file("officedata.xml");... |
Forum: XML, XSLT and XPATH Oct 1st, 2009 |
| Replies: 1 Views: 1,007 Hi there,
I am trying to delete XML nodes using PHP. Here is a sample of my xml file.
<users>
<user>
<fullname>PC1</fullname>
<floor>4</floor>
</user>
<user> |
Forum: XML, XSLT and XPATH Jun 4th, 2008 |
| Replies: 0 Views: 1,716 I can't seem to get a case insensitive search to work using an XPATH query.
This code works:
$lats = $users->xpath("/users/user[contains(.,'$fullname')]/lat");
This code does not work:
... |