protected function namespace_(...$arguments)
{
$namespaces = [];
if (\is_string($arguments[0])) {
$args = [$arguments[0], $arguments[1]];
if (isset($arguments[2])) {
$args[] = $arguments[2];
}
$namespaces[] = new FluidNamespace(...$args);
} else {
$namespaces = $arguments;
}
foreach ($namespaces as $n) {
$this->document->namespaces[$n->id()] = $n;
$this->document->xpath->registerNamespace($n->id(), $n->uri());
}
return $this;
}