
    Pil
                         d dl mZ d dlZej        d             Zej        d             Zej        d             Zej        d             Zej        d             Zej        d             Z	ej        d	             Z
dS )
    )PathNc                  J    t          t                    j        j        dz  dz  S )z
    Returns a Path object to the XML example directory.

    Examples
    --------
    >>> def test_read_xml(xml_data_path):
    ...     pd.read_xml(xml_data_path / "file.xsl")
    dataxml)r   __file__parent     p/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/pandas/tests/io/xml/conftest.pyxml_data_pathr      s      >> '&0588r
   c                      || dz            S )z
    Returns the path (as `str`) to the `books.xml` example file.

    Examples
    --------
    >>> def test_read_xml(xml_books):
    ...     pd.read_xml(xml_books)
    z	books.xmlr	   r   datapaths     r   	xml_booksr      s     8MK/000r
   c                      || dz            S )z
    Returns the path (as `str`) to the `doc_ch_utf.xml` example file.

    Examples
    --------
    >>> def test_read_xml(xml_doc_ch_utf):
    ...     pd.read_xml(xml_doc_ch_utf)
    zdoc_ch_utf.xmlr	   r   s     r   xml_doc_ch_utfr            8M$44555r
   c                      || dz            S )z
    Returns the path (as `str`) to the `baby_names.xml` example file.

    Examples
    --------
    >>> def test_read_xml(xml_baby_names):
    ...     pd.read_xml(xml_baby_names)
    zbaby_names.xmlr	   r   s     r   xml_baby_namesr   -   r   r
   c                      || dz            S )a|  
    Returns the path (as `str`) to the `cta_rail_lines.kml` example file.

    Examples
    --------
    >>> def test_read_xml(kml_cta_rail_lines):
    ...     pd.read_xml(
    ...         kml_cta_rail_lines,
    ...         xpath=".//k:Placemark",
    ...         namespaces={"k": "http://www.opengis.net/kml/2.2"},
    ...         stylesheet=xsl_flatten_doc,
    ...     )
    zcta_rail_lines.kmlr	   r   s     r   kml_cta_rail_linesr   :   s     8M$88999r
   c                      || dz            S )a8  
    Returns the path (as `str`) to the `flatten_doc.xsl` example file.

    Examples
    --------
    >>> def test_read_xsl(xsl_flatten_doc, mode):
    ...     with open(
    ...         xsl_flatten_doc, mode, encoding="utf-8" if mode == "r" else None
    ...     ) as f:
    ...         xsl_obj = f.read()
    zflatten_doc.xslr	   r   s     r   xsl_flatten_docr   L   s     8M$55666r
   c                      || dz            S )aG  
    Returns the path (as `str`) to the `row_field_output.xsl` example file.

    Examples
    --------
    >>> def test_read_xsl(xsl_row_field_output, mode):
    ...     with open(
    ...         xsl_row_field_output, mode, encoding="utf-8" if mode == "r" else None
    ...     ) as f:
    ...         xsl_obj = f.read()
    zrow_field_output.xslr	   r   s     r   xsl_row_field_outputr   \   s     8M$::;;;r
   )pathlibr   pytestfixturer   r   r   r   r   r   r   r	   r
   r   <module>r      s           	9 	9 	9 	1 	1 	1 	6 	6 	6 	6 	6 	6 : : :" 7 7 7 < < < < <r
   