@staticmethod<EOL><INDENT>def xml_to_namespace_availability(xmlstr):<DEDENT>
xmldoc = minidom.parseString(xmlstr)<EOL>availability = AvailabilityResponse()<EOL>for desc in _MinidomXmlToObject.get_children_from_path(xmldoc, '<STR_LIT>', '<STR_LIT:content>',<EOL>'<STR_LIT>'):<EOL><INDENT>node_value = _MinidomXmlToObject.get_first_child_node_value(desc, '<STR_LIT>')<EOL>if node_value is not None:<EOL><INDENT>availability.result = _parse_bool(node_value)<EOL><DEDENT><DEDENT>return availability<EOL>
Converts xml response to service bus namespace availability

        The xml format:
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
    <id>uuid:9fc7c652-1856-47ab-8d74-cd31502ea8e6;id=3683292</id>
    <title type="text"></title>
    <updated>2013-04-16T03:03:37Z</updated>
    <content type="application/xml">
        <NamespaceAvailability
            xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
            xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Result>false</Result>
        </NamespaceAvailability>
    </content>
</entry>