class_docstr: Constructs a MarkupLM feature extractor. This can be used to get a list of nodes and corresponding xpaths from HTML
  strings.
  
  This feature extractor inherits from [`~feature_extraction_utils.PreTrainedFeatureExtractor`] which contains most
  of the main methods. Users should refer to this superclass for more information regarding those methods.
code: def construct_xpath(self, xpath_tags, xpath_subscripts):
      xpath = ""
      for tagname, subs in zip(xpath_tags, xpath_subscripts):
          xpath += f"/{tagname}"
          if subs != 0:
              xpath += f"[{subs}]"
      return xpath
  
file_path: transformers/src/transformers/models/markuplm/feature_extraction_markuplm.py
imports: import html
  from ...feature_extraction_utils import BatchFeature, FeatureExtractionMixin
  from ...utils import is_bs4_available, logging, requires_backends
label_desc: Use image node_id 4 for calling the MarkupLMFeatureExtractor obj's underlying member method code with example usage: obj.construct_xpath(xpath_tags, xpath_subscripts) and returns: xpath