# encoding: utf-8
# module lxml.etree
# from C:\Programs\Python\Python313\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 ._FeedParser import _FeedParser

class XMLParser(_FeedParser):
    """
    XMLParser(self, encoding=None, attribute_defaults=False, dtd_validation=False,                  load_dtd=False, no_network=True, decompress=False, ns_clean=False,                  recover=False, schema: XMLSchema =None, huge_tree=False,                  remove_blank_text=False, resolve_entities=True,                  remove_comments=False, remove_pis=False, strip_cdata=True,                  collect_ids=True, target=None, compact=True)
    
        The XML parser.
    
        Parsers can be supplied as additional argument to various parse
        functions of the lxml API.  A default parser is always available
        and can be replaced by a call to the global function
        'set_default_parser'.  New parsers can be created at any time
        without a major run-time overhead.
    
        The keyword arguments in the constructor are mainly based on the
        libxml2 parser configuration.  A DTD will also be loaded if DTD
        validation or attribute default values are requested (unless you
        additionally provide an XMLSchema from which the default
        attributes can be read).
    
        Available boolean keyword arguments:
    
        - attribute_defaults - inject default attributes from DTD or XMLSchema
        - dtd_validation     - validate against a DTD referenced by the document
        - load_dtd           - use DTD for parsing
        - no_network         - prevent network access for related files (default: True)
        - decompress         - automatically decompress gzip input
                               (default: False, changed in lxml 6.0, disabling only affects libxml2 2.15+)
        - ns_clean           - clean up redundant namespace declarations
        - recover            - try hard to parse through broken XML
        - remove_blank_text  - discard blank text nodes that appear ignorable
        - remove_comments    - discard comments
        - remove_pis         - discard processing instructions
        - strip_cdata        - replace CDATA sections by normal text content (default: True)
        - compact            - save memory for short text content (default: True)
        - collect_ids        - use a hash table of XML IDs for fast access
                               (default: True, always True with DTD validation)
        - huge_tree          - disable security restrictions and support very deep trees
                               and very long text content
    
        Other keyword arguments:
    
        - resolve_entities - replace entities by their text value: False for keeping the
              entity references, True for resolving them, and 'internal' for resolving
              internal definitions only (no external file/URL access).
              The default used to be True and was changed to 'internal' in lxml 5.0.
        - encoding - override the document encoding (note: libiconv encoding name)
        - target   - a parser target object that will receive the parse events
        - schema   - an XMLSchema to validate against
    
        Note that you should avoid sharing parsers between threads.  While this is
        not harmful, it is more efficient to use separate parsers.  This does not
        apply to the default parser.
    """
    @classmethod
    def __class_getitem__(cls, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, encoding=None, attribute_defaults=False, dtd_validation=False, load_dtd=False, no_network=True, decompress=False, ns_clean=False, recover=False, schema=None, huge_tree=False, remove_blank_text=False, resolve_entities=True, remove_comments=False, remove_pis=False, strip_cdata=True, collect_ids=True, target=None, compact=True): # 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

    __pyx_vtable__ = None # (!) real value is '<capsule object NULL at 0x000001F0E7C60D60>'


