code: def c2p(mml, simple=False):
      """Transforms a document in MathML content (like the one that sympy produces)
      in one document in MathML presentation, more suitable for printing, and more
      widely accepted
  
      Examples
      ========
  
      >>> from sympy.utilities.mathml import c2p
      >>> mml = '<apply> <exp/> <cn>2</cn> </apply>'
      >>> c2p(mml,simple=True) != c2p(mml,simple=False)
      True
  
      """
  
      if not mml.startswith("<math"):
          mml = add_mathml_headers(mml)
  
      if simple:
          return apply_xsl(mml, "mathml/data/simple_mmlctop.xsl")
  
      return apply_xsl(mml, "mathml/data/mmlctop.xsl")
  
imports: from pathlib import Path
  from sympy.utilities.decorator import doctest_depends_on
label_desc: Use image node_id 5 for calling a global function with example usage: c2p(mml, simple) and returns: apply_xsl, apply_xsl