MCPcopy Create free account
hub / github.com/chanxuehong/util / EncodeXMLFromMap

Function EncodeXMLFromMap

xml.go:61–258  ·  view source on GitHub ↗

EncodeXMLFromMap encodes map[string]string to io.Writer with xml format. NOTE: This function requires the rootname argument and the keys of m (type map[string]string) argument are legitimate xml name string that does not contain the required escape character!

(w io.Writer, m map[string]string, rootname string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

WriteStringMethod · 0.80

Tested by

no test coverage detected