protected function getPathOfFileNodeToTarget($node, $path = '')
{
if ($node->getName() == 'target') {
return $this->_getBasePathFromTargetName((string) $node['name']) . $path;
}
$path = '/' . $node['name'] . $path;
$parent = $this->_getParentNode($node);
return $this->_getPathOfFileNodeToTarget($parent, $path);
}