function writeExpression(ns, tagName, node, value) {
  const property = createElementNS(ns, tagName);
  writeStringTextNode(property, value);
  node.appendChild(property);
}
@param {string} ns Namespace.
@param {string} tagName Tag name.
@param {Node} node Node.
@param {string} value Value.