@@ -222,29 +222,29 @@ msgstr "数据类型: org.w3c.dom.Node (在 Python 2 中不受支持)"
222222msgid ""
223223"description: When parsing, the current DOM node being visited if this is a "
224224"DOM iterator; when not parsing, the root DOM node for iteration."
225- msgstr ""
225+ msgstr "描述: 在解析时,如果这是一个 DOM 迭代器则为当前被访问的 DOM 节点;不在解析时,则将根 DOM 节点用于迭代。 "
226226
227227#: ../../library/xml.sax.handler.rst:143
228228msgid "value: ``\" http://xml.org/sax/properties/xml-string\" ``"
229- msgstr ""
229+ msgstr "值: `` \" http://xml.org/sax/properties/xml-string \" `` "
230230
231231#: ../../library/xml.sax.handler.rst:144
232232msgid "data type: String"
233- msgstr ""
233+ msgstr "数据类型: String "
234234
235235#: ../../library/xml.sax.handler.rst:146
236236msgid ""
237237"description: The literal string of characters that was the source for the "
238238"current event."
239- msgstr ""
239+ msgstr "描述: 作为当前事件来源的字符串字面值。 "
240240
241241#: ../../library/xml.sax.handler.rst:147
242242msgid "access: read-only"
243- msgstr ""
243+ msgstr "访问: 只读 "
244244
245245#: ../../library/xml.sax.handler.rst:152
246246msgid "List of all known property names."
247- msgstr ""
247+ msgstr "已知属性名称列表。 "
248248
249249#: ../../library/xml.sax.handler.rst:158
250250msgid "ContentHandler Objects"
@@ -255,13 +255,13 @@ msgid ""
255255"Users are expected to subclass :class:`ContentHandler` to support their "
256256"application. The following methods are called by the parser on the "
257257"appropriate events in the input document:"
258- msgstr ""
258+ msgstr "用户应当子类化 :class:`ContentHandler` 来支持他们的应用程序。 以下方法会由解析器在输入文档的适当事件上调用: "
259259
260260#: ../../library/xml.sax.handler.rst:167
261261msgid ""
262262"Called by the parser to give the application a locator for locating the "
263263"origin of document events."
264- msgstr ""
264+ msgstr "由解析器调用来给予应用程序一个定位器以确定文档事件来自何处。 "
265265
266266#: ../../library/xml.sax.handler.rst:170
267267msgid ""
@@ -270,6 +270,8 @@ msgid ""
270270"application by invoking this method before invoking any of the other methods"
271271" in the DocumentHandler interface."
272272msgstr ""
273+ "强烈建议(虽然不是绝对的要求) SAX 解析器提供一个定位器:如果提供的话,它必须在发起调用 DocumentHandler "
274+ "接口的任何其他方法之前通过发起调用此方法来提供定位器。"
273275
274276#: ../../library/xml.sax.handler.rst:175
275277msgid ""
0 commit comments