Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 183fe81 commit a83878eCopy full SHA for a83878e
1 file changed
Doc/library/pyexpat.rst
@@ -153,6 +153,13 @@ XMLParser Objects
153
:attr:`ordered_attributes` and :attr:`specified_attributes` set to the values of
154
this parser.
155
156
+.. method:: xmlparser.SetParamEntityParsing(flag)
157
+
158
+ Control parsing of parameter entities (including the external DTD subset).
159
+ Possible *flag* values are :const:`XML_PARAM_ENTITY_PARSING_NEVER`,
160
+ :const:`XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE` and
161
+ :const:`XML_PARAM_ENTITY_PARSING_ALWAYS`. Return true if setting the flag
162
+ was successful.
163
164
.. method:: xmlparser.UseForeignDTD([flag])
165
0 commit comments