Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <ns2:export xmlns:ns5="http://zakupki.gov.ru/oos/CPtypes/1" xmlns="http://zakupki.gov.ru/oos/types/1" xmlns:ns6="http://zakupki.gov.ru/oos/pprf615types/1" xmlns:ns7="http://zakupki.gov.ru/oos/EPtypes/1" xmlns:ns8="http://zakupki.gov.ru/oos/printform/1" xmlns:ns9="http://zakupki.gov.ru/oos/control99/1" xmlns:ns2="http://zakupki.gov.ru/oos/export/1" xmlns:ns3="http://zakupki.gov.ru/oos/base/1" xmlns:ns4="http://zakupki.gov.ru/oos/common/1">
- <ns2:fcsNotificationEF schemeVersion="8.3">
- <id>17761874</id>
- </ns2:fcsNotificationEF>
- </ns2:export>
- $xmlDoc = new DOMDocument();
- $xmlDoc->preserveWhiteSpace = false;
- $xmlDoc->load($filename);
- $xpath = new DOMXPath($xmlDoc);
- $id = $xpath->query('/export/fcsNotificationEF/id')->item(0)->nodeValue;
- var_dump($id);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement