U
    VÉcÒ  ã                   @   sB   d dl Z e jd  dkZe jd  dkZdddddd	d
œZdd„ ZdS )é    Né   é   z<http://schemas.openxmlformats.org/wordprocessingml/2006/mainzFhttp://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingz5http://schemas.openxmlformats.org/drawingml/2006/mainz8http://schemas.openxmlformats.org/drawingml/2006/picturezChttp://schemas.openxmlformats.org/officeDocument/2006/relationshipsz:http://schemas.openxmlformats.org/officeDocument/2006/math)ÚwZwpÚaZpicÚrÚmc                 C   s"   |   d¡\}}t| }d ||¡S )a  
    Stands for 'qualified name', a utility function to turn a namespace
    prefixed tag name into a Clark-notation qualified tag name for lxml. For
    example, ``qn('p:cSld')`` returns ``'{http://schemas.../main}cSld'``.
    Source: https://github.com/python-openxml/python-docx/
    ú:z{{{}}}{})ÚsplitÚnamespace_mapÚformat)ÚtagÚprefixZtagrootÚuri© r   ú>/var/www/wikiazma_server/doc_parser/utils/omml_parser/utils.pyÚqualified_tag_name   s    r   )ÚsysÚversion_infoÚPY2ÚPY3r
   r   r   r   r   r   Ú<module>   s   û