Configures name of the root node.
public function withRootNodeName(?string $rootNodeName) : static { return $this->with(XmlEncoder::ROOT_NODE_NAME, $rootNodeName); }