diff options
Diffstat (limited to 'suds/mx/literal.py')
-rw-r--r-- | suds/mx/literal.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/suds/mx/literal.py b/suds/mx/literal.py index 937ad8e..b6c0c7e 100644 --- a/suds/mx/literal.py +++ b/suds/mx/literal.py @@ -143,7 +143,10 @@ class Typed(Core): # by the schema (elementFormDefault). # ns = content.type.namespace() - if content.type.form_qualified: + qualify = \ + ( content.type.form_qualified or + content.type.element() == 1) + if qualify: node = Element(content.tag, ns=ns) node.addPrefix(ns[0], ns[1]) else: |