diff --git a/plugins/modules/xml.py b/plugins/modules/xml.py index 5802d03f35..c92a807538 100644 --- a/plugins/modules/xml.py +++ b/plugins/modules/xml.py @@ -305,7 +305,7 @@ EXAMPLES = r''' name: Scumm bar location: Monkey island # Value - _value: unreal + +value: unreal # Subnodes _: - floor: Pirate hall @@ -761,7 +761,7 @@ def child_to_element(module, child, in_type): (key, value) = next(iteritems(child)) if isinstance(value, MutableMapping): children = value.pop('_', None) - child_value = value.pop('_value', None) + child_value = value.pop('+value', None) node = etree.Element(key, value)