parameters: (target, source, env)
return_statement: return None
docstring: Resolving XIncludes, using the lxml module.
docstring_summary: Resolving XIncludes, using the lxml module.
docstring_tokens: Resolving XIncludes using the lxml module .
function: def __xinclude_lxml(target, source, env):
      """
      Resolving XIncludes, using the lxml module.
      """
      from lxml import etree
      
      doc = etree.parse(str(source[0]))
      doc.xinclude()
      try:
          doc.write(str(target[0]), xml_declaration=True, 
                    encoding="UTF-8", pretty_print=True)
      except:
          pass
  
      return None
function_tokens: def __xinclude_lxml ( target , source , env ) : from lxml import etree doc = etree . parse ( str ( source [ 0 ] ) ) doc . xinclude ( ) try : doc . write ( str ( target [ 0 ] ) , xml_declaration = True , encoding = "UTF-8" , pretty_print = True ) except : pass return None