관리-도구
편집 파일: docutils_xml.cpython-311.pyc
� P�Dgk � �� � d Z dZddlmZ ddlZddlZddlmZmZm Z m Z G d� dej � � Z G d� d e j � � Z G d � dej � � 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�nodes�writers�utilsc � � e Zd ZdS )�RawXmlErrorN)�__name__� __module__�__qualname__� � �}/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-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&