Roll back previous change to the root XML tag name for sample data.
This commit is contained in:
parent
bd36dc2f35
commit
23a276058d
@ -255,7 +255,7 @@ def encode_error(context, errordetail):
|
|||||||
|
|
||||||
|
|
||||||
def encode_sample_value(datatype, value, format=False):
|
def encode_sample_value(datatype, value, format=False):
|
||||||
r = toxml(datatype, 'result', value)
|
r = toxml(datatype, 'value', value)
|
||||||
if format:
|
if format:
|
||||||
xml_indent(r)
|
xml_indent(r)
|
||||||
content = et.tostring(r)
|
content = et.tostring(r)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user