code: def foo(ctx, x):
      global called
  
      #
      # test that access to the XPath evaluation contexts
      #
      pctxt = libxml2.xpathParserContext(_obj=ctx)
      ctxt = pctxt.context()
      called = ctxt.function()
      return x + 1
  
imports: import sys
  import libxml2
label_desc: Use image node_id 1 for calling a global function with example usage: foo(ctx, x) and returns: unknown