code: def default_loader(href, parse, encoding=None):
      if parse == "xml":
          with open(href, "rb") as file:
              data = ElementTree.parse(file).getroot()
      else:
          if not encoding:
              encoding = "UTF-8"
          with open(href, "r", encoding=encoding) as file:
              data = file.read()
      return data
  
file_path: catboost/contrib/tools/python3/src/Lib/xml/etree/ElementInclude.py
imports: import copy
  from .None import ElementTree
  from urllib.parse import urljoin
label_desc: Use image node_id 1 for calling a global function with example usage: default_loader(href, parse, encoding) and returns: data