code: def make_xml_tags(
      tag_str: Union[str, ParserElement]
  ) -> Tuple[ParserElement, ParserElement]:
      """Helper to construct opening and closing tag expressions for XML,
      given a tag name. Matches tags only in the given upper/lower case.
  
      Example: similar to :class:`make_html_tags`
      """
      return _makeTags(tag_str, True)
  
imports: import html.entities
  import re
  import sys
  import typing
  from .None import __diag__
  from .core import *
  from .util import _bslash, _flatten, _escape_regex_range_chars, replaced_by_pep8
label_desc: Use image node_id 12 for calling a global function with example usage: make_xml_tags(tag_str) and returns: _makeTags