7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.7\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2021-09-13 00:11 +0000\n "
10
+ "POT-Creation-Date : 2021-10-12 19:07 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 16:15+0000\n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -189,13 +189,18 @@ msgid ""
189
189
"the user."
190
190
msgstr ""
191
191
192
- #: ../../library/xml.dom.minidom.rst:161
192
+ #: ../../library/xml.dom.minidom.rst:159 ../../library/xml.dom.minidom.rst:180
193
+ #: ../../library/xml.dom.minidom.rst:199
194
+ msgid "The *standalone* parameter was added."
195
+ msgstr ""
196
+
197
+ #: ../../library/xml.dom.minidom.rst:164
193
198
msgid ""
194
199
"Return a string or byte string containing the XML represented by the DOM "
195
200
"node."
196
201
msgstr ""
197
202
198
- #: ../../library/xml.dom.minidom.rst:164
203
+ #: ../../library/xml.dom.minidom.rst:167
199
204
msgid ""
200
205
"With an explicit *encoding* [1]_ argument, the result is a byte string in "
201
206
"the specified encoding. With no *encoding* argument, the result is a Unicode "
@@ -204,63 +209,63 @@ msgid ""
204
209
"incorrect, since UTF-8 is the default encoding of XML."
205
210
msgstr ""
206
211
207
- #: ../../library/xml.dom.minidom.rst:171 ../../library/xml.dom.minidom.rst:187
212
+ #: ../../library/xml.dom.minidom.rst:174 ../../library/xml.dom.minidom.rst:193
208
213
msgid "The *standalone* argument behaves exactly as in :meth:`writexml`."
209
214
msgstr ""
210
215
211
- #: ../../library/xml.dom.minidom.rst:173
216
+ #: ../../library/xml.dom.minidom.rst:176
212
217
msgid ""
213
218
"The :meth:`toxml` method now preserves the attribute order specified by the "
214
219
"user."
215
220
msgstr ""
216
221
217
- #: ../../library/xml.dom.minidom.rst:180
222
+ #: ../../library/xml.dom.minidom.rst:186
218
223
msgid ""
219
224
"Return a pretty-printed version of the document. *indent* specifies the "
220
225
"indentation string and defaults to a tabulator; *newl* specifies the string "
221
226
"emitted at the end of each line and defaults to ``\\ n``."
222
227
msgstr ""
223
228
224
- #: ../../library/xml.dom.minidom.rst:184
229
+ #: ../../library/xml.dom.minidom.rst:190
225
230
msgid ""
226
231
"The *encoding* argument behaves like the corresponding argument of :meth:"
227
232
"`toxml`."
228
233
msgstr ""
229
234
230
- #: ../../library/xml.dom.minidom.rst:189
235
+ #: ../../library/xml.dom.minidom.rst:195
231
236
msgid ""
232
237
"The :meth:`toprettyxml` method now preserves the attribute order specified "
233
238
"by the user."
234
239
msgstr ""
235
240
236
- #: ../../library/xml.dom.minidom.rst:197
241
+ #: ../../library/xml.dom.minidom.rst:205
237
242
msgid "DOM Example"
238
243
msgstr ""
239
244
240
- #: ../../library/xml.dom.minidom.rst:199
245
+ #: ../../library/xml.dom.minidom.rst:207
241
246
msgid ""
242
247
"This example program is a fairly realistic example of a simple program. In "
243
248
"this particular case, we do not take much advantage of the flexibility of "
244
249
"the DOM."
245
250
msgstr ""
246
251
247
- #: ../../library/xml.dom.minidom.rst:208
252
+ #: ../../library/xml.dom.minidom.rst:216
248
253
msgid "minidom and the DOM standard"
249
254
msgstr ""
250
255
251
- #: ../../library/xml.dom.minidom.rst:210
256
+ #: ../../library/xml.dom.minidom.rst:218
252
257
msgid ""
253
258
"The :mod:`xml.dom.minidom` module is essentially a DOM 1.0-compatible DOM "
254
259
"with some DOM 2 features (primarily namespace features)."
255
260
msgstr ""
256
261
257
- #: ../../library/xml.dom.minidom.rst:213
262
+ #: ../../library/xml.dom.minidom.rst:221
258
263
msgid ""
259
264
"Usage of the DOM interface in Python is straight-forward. The following "
260
265
"mapping rules apply:"
261
266
msgstr ""
262
267
263
- #: ../../library/xml.dom.minidom.rst:216
268
+ #: ../../library/xml.dom.minidom.rst:224
264
269
msgid ""
265
270
"Interfaces are accessed through instance objects. Applications should not "
266
271
"instantiate the classes themselves; they should use the creator functions "
@@ -269,50 +274,50 @@ msgid ""
269
274
"operations."
270
275
msgstr ""
271
276
272
- #: ../../library/xml.dom.minidom.rst:221
277
+ #: ../../library/xml.dom.minidom.rst:229
273
278
msgid ""
274
279
"Operations are used as methods. Since the DOM uses only :keyword:`in` "
275
280
"parameters, the arguments are passed in normal order (from left to right). "
276
281
"There are no optional arguments. ``void`` operations return ``None``."
277
282
msgstr ""
278
283
279
- #: ../../library/xml.dom.minidom.rst:225
284
+ #: ../../library/xml.dom.minidom.rst:233
280
285
msgid ""
281
286
"IDL attributes map to instance attributes. For compatibility with the OMG "
282
287
"IDL language mapping for Python, an attribute ``foo`` can also be accessed "
283
288
"through accessor methods :meth:`_get_foo` and :meth:`_set_foo`. "
284
289
"``readonly`` attributes must not be changed; this is not enforced at runtime."
285
290
msgstr ""
286
291
287
- #: ../../library/xml.dom.minidom.rst:230
292
+ #: ../../library/xml.dom.minidom.rst:238
288
293
msgid ""
289
294
"The types ``short int``, ``unsigned int``, ``unsigned long long``, and "
290
295
"``boolean`` all map to Python integer objects."
291
296
msgstr ""
292
297
293
- #: ../../library/xml.dom.minidom.rst:233
298
+ #: ../../library/xml.dom.minidom.rst:241
294
299
msgid ""
295
300
"The type ``DOMString`` maps to Python strings. :mod:`xml.dom.minidom` "
296
301
"supports either bytes or strings, but will normally produce strings. Values "
297
302
"of type ``DOMString`` may also be ``None`` where allowed to have the IDL "
298
303
"``null`` value by the DOM specification from the W3C."
299
304
msgstr ""
300
305
301
- #: ../../library/xml.dom.minidom.rst:238
306
+ #: ../../library/xml.dom.minidom.rst:246
302
307
msgid ""
303
308
"``const`` declarations map to variables in their respective scope (e.g. "
304
309
"``xml.dom.minidom.Node.PROCESSING_INSTRUCTION_NODE``); they must not be "
305
310
"changed."
306
311
msgstr ""
307
312
308
- #: ../../library/xml.dom.minidom.rst:241
313
+ #: ../../library/xml.dom.minidom.rst:249
309
314
msgid ""
310
315
"``DOMException`` is currently not supported in :mod:`xml.dom.minidom`. "
311
316
"Instead, :mod:`xml.dom.minidom` uses standard Python exceptions such as :exc:"
312
317
"`TypeError` and :exc:`AttributeError`."
313
318
msgstr ""
314
319
315
- #: ../../library/xml.dom.minidom.rst:245
320
+ #: ../../library/xml.dom.minidom.rst:253
316
321
msgid ""
317
322
":class:`NodeList` objects are implemented using Python's built-in list type. "
318
323
"These objects provide the interface defined in the DOM specification, but "
@@ -321,30 +326,30 @@ msgid ""
321
326
"recommendations."
322
327
msgstr ""
323
328
324
- #: ../../library/xml.dom.minidom.rst:251
329
+ #: ../../library/xml.dom.minidom.rst:259
325
330
msgid ""
326
331
"The following interfaces have no implementation in :mod:`xml.dom.minidom`:"
327
332
msgstr ""
328
333
329
- #: ../../library/xml.dom.minidom.rst:253
334
+ #: ../../library/xml.dom.minidom.rst:261
330
335
msgid ":class:`DOMTimeStamp`"
331
336
msgstr ""
332
337
333
- #: ../../library/xml.dom.minidom.rst:255
338
+ #: ../../library/xml.dom.minidom.rst:263
334
339
msgid ":class:`EntityReference`"
335
340
msgstr ""
336
341
337
- #: ../../library/xml.dom.minidom.rst:257
342
+ #: ../../library/xml.dom.minidom.rst:265
338
343
msgid ""
339
344
"Most of these reflect information in the XML document that is not of general "
340
345
"utility to most DOM users."
341
346
msgstr ""
342
347
343
- #: ../../library/xml.dom.minidom.rst:261
348
+ #: ../../library/xml.dom.minidom.rst:269
344
349
msgid "Footnotes"
345
350
msgstr "註解"
346
351
347
- #: ../../library/xml.dom.minidom.rst:262
352
+ #: ../../library/xml.dom.minidom.rst:270
348
353
msgid ""
349
354
"The encoding name included in the XML output should conform to the "
350
355
"appropriate standards. For example, \" UTF-8\" is valid, but \" UTF8\" is not "
0 commit comments