MCPcopy Create free account
hub / github.com/andreikop/python-ws-discovery / addElementWithText

Function addElementWithText

wsdiscovery/util.py:42–46  ·  view source on GitHub ↗
(doc, parent, name, ns, value)

Source from the content-addressed store, hash-verified

40
41
42def addElementWithText(doc, parent, name, ns, value):
43 el = doc.createElementNS(ns, name)
44 text = doc.createTextNode(value)
45 el.appendChild(text)
46 parent.appendChild(el)
47
48
49def addEPR(doc, node, epr):

Callers 11

createSkelSoapMessageFunction · 0.85
addEPRFunction · 0.85
addScopesFunction · 0.85
addTypesFunction · 0.85
addXAddrsFunction · 0.85
createByeMessageFunction · 0.85
createResolveMessageFunction · 0.85
createProbeMatchMessageFunction · 0.85
createHelloMessageFunction · 0.85
createProbeMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected