So i have problem to open file after getting string from <file> node content.
//..getting <file> node as $fileNode
$filename = $fileNode->firstChild->toString();
$fp = fopen( $filename, 'w' ); // and in this code warrning appears "can not open stream" $filename have wrong string format, i think.
What will i have to do to get right string with filename?
I`m thinking about such way as to save file path as attribute of <file>, but it`s not very good for my xml.