code: public static Element svgElement(Document document, String name) {
      return document.createElementNS(SVGConstants.SVG_NAMESPACE_URI, name);
    }
docs: Create a SVG element in appropriate namespace
  
  @param document containing document
  @param name node name
  @return new SVG element.