# encoding: utf-8
# module lxml.etree
# from D:\project\A_Board\.venv\Lib\site-packages\lxml\etree.cp313-win_amd64.pyd
# by generator 1.147
""" The ``lxml.etree`` module implements the extended ElementTree API for XML. """

# imports
import builtins as __builtins__ # <module 'builtins' (built-in)>
import abc as __abc
import typing as __typing


from .object import object

class XSLT(object):
    """
    XSLT(self, xslt_input, extensions=None, regexp=True, access_control=None)
    
        Turn an XSL document into an XSLT object.
    
        Calling this object on a tree or Element will execute the XSLT::
    
            transform = etree.XSLT(xsl_tree)
            result = transform(xml_tree)
    
        Keyword arguments of the constructor:
    
        - extensions: a dict mapping ``(namespace, name)`` pairs to
          extension functions or extension elements
        - regexp: enable exslt regular expression support in XPath
          (default: True)
        - access_control: access restrictions for network or file
          system (see `XSLTAccessControl`)
    
        Keyword arguments of the XSLT call:
    
        - profile_run: enable XSLT profiling and make the profile available
          as XML document in ``result.xslt_profile`` (default: False)
    
        Other keyword arguments of the call are passed to the stylesheet
        as parameters.
    """
    def set_global_max_depth(self, max_depth): # real signature unknown; restored from __doc__
        """
        set_global_max_depth(max_depth)
        
                The maximum traversal depth that the stylesheet engine will allow.
                This does not only count the template recursion depth but also takes
                the number of variables/parameters into account.  The required setting
                for a run depends on both the stylesheet and the input data.
        
                Example::
        
                    XSLT.set_global_max_depth(5000)
        
                Note that this is currently a global, module-wide setting because
                libxslt does not support it at a per-stylesheet level.
        """
        pass

    def strparam(self, strval): # real signature unknown; restored from __doc__
        """
        strparam(strval)
        
                Mark an XSLT string parameter that requires quote escaping
                before passing it into the transformation.  Use it like this::
        
                    result = transform(doc, some_strval = XSLT.strparam(
                        '''it's "Monty Python's" ...'''))
        
                Escaped string parameters can be reused without restriction.
        """
        pass

    def tostring(self, result_tree): # real signature unknown; restored from __doc__
        """
        tostring(self, result_tree)
        
                Save result doc to string based on stylesheet output method.
        
                :deprecated: use str(result_tree) instead.
        """
        pass

    def __call__(self, _input, profile_run=False, **kw): # real signature unknown; restored from __doc__
        """
        __call__(self, _input, profile_run=False, **kw)
        
                Execute the XSL transformation on a tree or Element.
        
                Pass the ``profile_run`` option to get profile information
                about the XSLT.  The result of the XSLT will have a property
                xslt_profile that holds an XML tree with profiling data.
        """
        pass

    def __copy__(self, *args, **kwargs): # real signature unknown
        pass

    def __deepcopy__(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, xslt_input, extensions=None, regexp=True, access_control=None): # real signature unknown; restored from __doc__
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    error_log = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """The log of errors and warnings of an XSLT execution."""


    __pyx_vtable__ = None # (!) real value is '<capsule object NULL at 0x000001F0E7C59760>'


