File: //lib/python3/dist-packages/twisted/words/xish/__pycache__/domish.cpython-310.pyc
o
�b�s � @ s� d Z ddlmZ ddlmZmZmZ ddlmZ dd� Z ddiZ
G d d
� d
�ZeZd&dd�Z
d
d� Zdd� Zdd� Zdd� ZG dd� de�ZG dd� d�ZG dd� de�Zee�G dd� d��ZG dd� de�Zdd � ZG d!d"� d"ej�ZG d#d$� d$�Zd%S )'z�
DOM-like XML processing support.
This module provides support for parsing XML into DOM-like object structures
and serializing such structures to an XML string representation, optimized
for use in streaming XML applications.
� )�cast)� Attribute� Interface�implementer)�suxc C s( | � dd�}t|�dkr|S d|d fS )zSInternal method for splitting a prefixed Element name into its
respective parts�:� � Nr )�split�len)�name�ntok� r �;/usr/lib/python3/dist-packages/twisted/words/xish/domish.py�_splitPrefix s r z$http://www.w3.org/XML/1998/namespace�xmlc @ s<