def getUnboundVertexElement(vertex):
 vertexElement = xml_simple_reader.ElementNode()
 addVertexToAttributes(vertexElement.attributes, vertex)
 vertexElement.localName = 'vertex'
 return vertexElement

def getUnboundVertexElement ( vertex ) : vertexElement = xml_simple_reader . ElementNode ( ) addVertexToAttributes ( vertexElement . attributes , vertex ) vertexElement . localName = 'vertex' return vertexElement
add vertex element to an xml element .