original_docstring: Parse a string, create the object tree, and export it.
  
      Arguments:
      - inString -- A string.  This XML fragment should not start
        with an XML declaration containing an encoding.
      - silence -- A boolean.  If False, export the object.
      Returns -- The root object in the tree.
      
docstring: Parse a string, create the object tree, and export it.
  Arguments:
  inString -- A string.  This XML fragment should not start
  with an XML declaration containing an encoding.
  silence -- A boolean.  If False, export the object.
  Returns -- The root object in the tree.
docstring_tokens: Parse a string create the object tree and export it . Arguments : inString -- A string . This XML fragment should not start with an XML declaration containing an encoding . silence -- A boolean . If False export the object . Returns -- The root object in the tree .
code: def parseString(inString, silence=False, print_warnings=True):
      '''Parse a string, create the object tree, and export it.
  
      Arguments:
      - inString -- A string.  This XML fragment should not start
        with an XML declaration containing an encoding.
      - silence -- A boolean.  If False, export the object.
      Returns -- The root object in the tree.
      '''
      parser = None
      rootNode= parsexmlstring_(inString, parser)
      gds_collector = GdsCollector_()
      rootTag, rootClass = get_root_tag(rootNode)
      if rootClass is None:
          rootTag = 'ResponseShipListAddressType'
          rootClass = ResponseShipListAddressType
      rootObj = rootClass.factory()
      rootObj.build(rootNode, gds_collector_=gds_collector)
      if not SaveElementTreeNode:
          rootNode = None
      if not silence:
          sys.stdout.write('<?xml version="1.0" ?>\n')
          rootObj.export(
              sys.stdout, 0, name_=rootTag,
              namespacedef_='xmlns:tnt="http://www.ups.com/XMLSchema/XOLTWS/tnt/v1.0"')
      if print_warnings and len(gds_collector.get_messages()) > 0:
          separator = ('-' * 50) + '\n'
          sys.stderr.write(separator)
          sys.stderr.write('----- Warnings -- count: {} -----\n'.format(
              len(gds_collector.get_messages()), ))
          gds_collector.write_messages(sys.stderr)
          sys.stderr.write(separator)
      return rootObj
code_tokens: def parseString ( inString , silence = False , print_warnings = True ) : parser = None rootNode = parsexmlstring_ ( inString , parser ) gds_collector = GdsCollector_ ( ) rootTag , rootClass = get_root_tag ( rootNode ) if rootClass is None : rootTag = 'ResponseShipListAddressType' rootClass = ResponseShipListAddressType rootObj = rootClass . factory ( ) rootObj . build ( rootNode , gds_collector_ = gds_collector ) if not SaveElementTreeNode : rootNode = None if not silence : sys . stdout . write ( '<?xml version="1.0" ?>\n' ) rootObj . export ( sys . stdout , 0 , name_ = rootTag , namespacedef_ = 'xmlns:tnt="http://www.ups.com/XMLSchema/XOLTWS/tnt/v1.0"' ) if print_warnings and len ( gds_collector . get_messages ( ) ) > 0 : separator = ( '-' * 50 ) + '\n' sys . stderr . write ( separator ) sys . stderr . write ( '----- Warnings -- count: {} -----\n' . format ( len ( gds_collector . get_messages ( ) ) , ) ) gds_collector . write_messages ( sys . stderr ) sys . stderr . write ( separator ) return rootObj
short_docstring: Parse a string, create the object tree, and export it.
short_docstring_tokens: Parse a string create the object tree and export it .
comment: '''Parse a string, create the object tree, and export it.
  
      Arguments:
      - inString -- A string.  This XML fragment should not start
        with an XML declaration containing an encoding.
      - silence -- A boolean.  If False, export the object.
      Returns -- The root object in the tree.
      '''