Help from XML select only ftpServer and ftpDstDir values. Find all ftpServer is obtained, but also choose ftpDstDir does not work.
XML structure:
<ftpUpl> <FtpUpload name = "sdsdl" ftpServer = "123456789" ftpServerPort = "21" ftpDstDir = "/123/" ftpActiveMode = "true" ftpTimeout = "10" ftpFileType = "binary" saveTime = "false" queueWarnOn = "20" queueWarnOff = "2" /> </ftpUpl> My request that gets all ftpServer:
$nodes = $xml->xpath('/ftpUpl/FtpUpload/@ftpServer');
|but not sure whether or not. - Naumov