<?xml version="1.0" encoding="UTF-8"?> <version_logs> <version_log id="0.8.351.639"> <version>0.8.351.639</version> <release_date>May 2014</release_date> <logs> <log>Minor bug fixes</log> <log>Increase compatibility</log> <log>Better user</log> <log>New languages</log> </logs> </version_log> <version_log id="5454.54.464.3"> <version>5454.54.464.3</version> <logs> <log>fffff</log> <log>fdgdgsdgsdgsd</log> <log>ererererer</log> <log>lllllll</log> <log>lllllll</log> <log>lllllll</log> <log>lllllll</log> </logs> </version_log> </version_logs>
$nodes = $xml->xpath('//version_log/version[contains(., "5454.54.464.3")]');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)