code: def xml2json(xmlstring, options, strip_ns=1, strip=1):
  
      
  
      elem = ET.fromstring(xmlstring)
      return elem2json(elem, options, strip_ns=strip_ns, strip=strip)
docs: Convert an XML string into a JSON string.