public function __toString()
{
$path = '';
if (null !== $this->prefix) {
$path .= $this->prefix;
}
if (null !== $this->path) {
$path .= $this->path;
}
$path .= $this->element;
if ($this->condition) {
$path .= sprintf('[%s]', $this->condition);
}
return $path;
}