code: def _args(self, term, d):
          
  
          # Get the term value name, the property name that should be assigned to the term value.
          tvm = self.doc.decl_terms.get(term, {}).get('termvaluename', '@value')
  
          # Convert the keys to lower case
  
          lower_d = {k.lower(): v for k, v in d.items()}
  
          args = []
          for n in [tvm] + self.property_names:
              args.append(lower_d.get(n.lower(), ''))
  
              try:
                  del lower_d[n.lower()]
              except KeyError:
                  pass
  
          return term, args, lower_d
docs: Extract the chldren of a term that are arg-children from those that are row-children.