| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/docutils/writers/__pycache__/ |
Upload File : |
�
N=&b� � �� � d Z dZddlmZ ddlZddlZddlmZmZm Z G d� dej
� � Z G d� d ej � � Z G d
� de j
� � Z G d� d
ej j j � � ZdS )zv
Simple document tree Writer, writes Docutils XML according to
https://docutils.sourceforge.io/docs/ref/docutils.dtd.
�reStructuredText� )�StringION)�frontend�writers�nodesc � � e Zd ZdS )�RawXmlErrorN)�__name__�
__module__�__qualname__� � �?/usr/lib/python3/dist-packages/docutils/writers/docutils_xml.pyr r s � � � � � ��Dr r c � � e Zd ZdZ ddddgdej d�fdd gdej d�fd
dgdd
dej d�fddgdd
dej d�fffZddiZdZdZ dZ
d� Zd� ZdS )�Writer)�xmlz"Docutils XML" Writer OptionsNz1Generate XML with newlines before and after tags.z
--newlines�
store_true)�action� validatorz'Generate XML with indents and newlines.z --indentsz,Omit the XML declaration. Use with caution.z--no-xml-declaration�xml_declaration� �store_false)�dest�defaultr r zOmit the DOCTYPE declaration.z--no-doctype�doctype_declaration�output_encoding_error_handler�xmlcharrefreplacezdocutils_xml writer)r c �\ � t j � | � � t | _ d S �N)r r �__init__�
XMLTranslator�translator_class)�selfs r r zWriter.__init__7 s&