summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.etree.elementtree.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36543: Remove old-deprecated ElementTree features. (GH-12707)Serhiy Storchaka2019-09-011-18/+0
| | | | | Remove methods Element.getchildren(), Element.getiterator() and ElementTree.getiterator() and the xml.etree.cElementTree module.
* bpo-14465: Add an indent() function to xml.etree.ElementTree to pretty-print ↵Stefan Behnel2019-08-231-0/+12
| | | | XML trees (GH-15200)
* bpo-34160: explain how to deal with attribute order in ElementTree (GH-14867)Stefan Behnel2019-07-241-2/+40
| | | | | | | * Fix the formatting in the documentation of the tostring() functions. * bpo-34160: Document that the tostring() and tostringlist() functions also preserve the attribute order now. * bpo-34160: Add an explanation of how users should deal with the attribute order.
* bpo-28238: Implement "{*}tag" and "{ns}*" wildcard tag selection support for ↵Stefan Behnel2019-05-031-2/+15
| | | | ElementPath, and extend the surrounding tests and docs. (GH-12997)
* bpo-13611: C14N 2.0 implementation for ElementTree (GH-12966)Stefan Behnel2019-05-011-0/+60
| | | | | | | * Implement C14N 2.0 as a new canonicalize() function in ElementTree. Missing features: - prefix renaming in XPath expressions (tag and attribute text is supported) - preservation of original prefixes given redundant namespace declarations
* bpo-36676: Namespace prefix aware parsing support for the ET.XMLParser ↵Stefan Behnel2019-05-011-2/+20
| | | | | target (GH-12885) * bpo-36676: Implement namespace prefix aware parsing support for the XMLParser target in ElementTree.
* bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ↵Stefan Behnel2019-05-011-12/+53
| | | | | | | | ElementTree. (#12883) * bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree. * bpo-36673: Rewrite the comment/PI factory handling for the TreeBuilder in "_elementtree" to make it use the same factories as the ElementTree module, and to make it explicit when the comments/PIs are inserted into the tree and when they are not (which is the default).
* bpo-30485: Change the prefix for defining the default namespace in ↵Stefan Behnel2019-04-181-3/+3
| | | | ElementPath from None to '' since there is existing code that uses that and it's more convenient to have an all-string-keys dict (e.g. when sorting items etc.). (#12860)
* bpo-30485: support a default prefix mapping in ElementPath by passing None ↵Stefan Behnel2019-04-141-3/+6
| | | | as prefix (#1823)
* bpo-36227: ElementTree.tostring() default_namespace and xml_declaration ↵Bernt Røskar Brenna2019-04-141-6/+15
| | | | | arguments (GH-12225) Add new keyword arguments "default_namespace" and "xml_declaration" to functions ET.tostring() and ET.tostringlist(), as known from ElementTree.write().
* bpo-28235: Fix xml.etree.ElementTree.fromstring docs (GH-11903)Manjusaka2019-02-221-2/+4
|
* bpo-34160: Preserve user specified order of Element attributes (GH-10163)Raymond Hettinger2018-10-281-0/+8
|
* bpo-29209: Remove old-deprecated features in ElementTree. (GH-6769)Serhiy Storchaka2018-07-241-16/+9
| | | | | Also make getchildren() and getiterator() emitting a DeprecationWarning instead of PendingDeprecationWarning.
* bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609)sblondon2018-02-101-1/+1
| | | The new link is given in a red box on the old page.
* bpo-31648: Improve ElementPath (#3835)scoder2017-09-301-0/+5
| | | | | * Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']".
* bpo-30380: Fix Sphinx 1.6.1 warnings. (#1613)Serhiy Storchaka2017-05-161-1/+1
| | | | | | | | * Use explicit numbering for footnotes referred by explicit number. * Restore missed footnote reference in stdtypes.rst. * Fix literal strings formatting in howto/urllib2.rst. * Update susp-ignored.csv for zipapp.rst. * Fix suspicious mark up in Misc/NEWS.
* Issue #19795: Mark up True and False as literal text instead of bold.Serhiy Storchaka2016-10-191-1/+1
|
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+5
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-13/+13
| | | | Original patch by James Edwards.
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-4/+4
|
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-1/+1
| | | | This affects documentation, code comments, and a debugging messages.
* Closes #26444: typo fixes.Georg Brandl2016-02-261-7/+7
|
* Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-101-1/+1
|
* Issue #24079: Improve description of the text and tail attributes forNed Deily2015-08-181-11/+19
| | | | ElementTree Element objects. Initial patch by Martin Panter.
* Issue #23729: Improve docs for ElementTree namespace parsingRaymond Hettinger2015-03-311-8/+10
|
* Issue 23729: Document ElementTree namespace handling and fix an omission in ↵Raymond Hettinger2015-03-221-0/+68
| | | | the XPATH predicate table.
* Fixing broken links in doc, part 4: some more breaks and redirectsGeorg Brandl2014-10-291-1/+1
|
* Issue #20375: Clarify ET's parsing of comments and processing instructions.Eli Bendersky2014-04-031-0/+22
| | | | Based on patch by Nikolaus Rath.
* Minor readability improvement.Raymond Hettinger2014-03-291-1/+1
|
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-1/+2
|
* Fix empty strings to empty bytes objects.Serhiy Storchaka2014-02-061-1/+1
|\
| * Fix empty strings to empty bytes objects.Serhiy Storchaka2014-02-061-1/+1
| |
| * Issue #19452: Clarify the documentation of iterparse w.r.t. events argument.Eli Bendersky2013-10-311-1/+1
| | | | | | | | | | In 3.3 iterparse accepts a tuple in events (the C accelerator enforces this). This limitation was lifted in Python 3.4
* | whatsnew: XMLPullParser, plus some doc updates.R David Murray2014-01-051-9/+14
| | | | | | | | | | | | | | | | | | | | I was confused by the text saying that read_events "iterated", since it actually returns an iterator (that's what a generator does) that the caller must then iterate. So I tidied up the language. I'm not sure what the sentence "Events provided in a previous call to read_events() will not be yielded again." is trying to convey, so I didn't try to fix that. Also fixed a couple more news items.
* | shelf in with stmt, fish/csh in venv, ElementTree short_empty_elements keyword.R David Murray2013-12-261-2/+2
| | | | | | | | | | | | Also added versionadded for for fish/csh, fixed indentation of versionadded for ElementTree.write, and make the behavior of shelf as a context manager explicit in the docs.
* | merge with 3.3Georg Brandl2013-10-061-1/+1
|\ \ | |/
| * Fix: Element.text is an attribute, not a method (report by Cameron Laird on ↵Georg Brandl2013-10-061-1/+1
| | | | | | | | docs@)
* | Close #18990: remove root attribute from XMLPullParserNick Coghlan2013-09-281-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | - this was an internal implementation detail for iterparse - this has been changed to use a new private method instead - XMLPullParser.close docs are now more explicit about not returning a root element and instead direct users towards read_events - also added missing docstrings and clarified some details related to exactly *when* events are consumed from the internal queue (Initial patch by Stefan Behnel)
* | Fix XMLPullParser documentation to say "non-blocking" instead of "asynchronous".Eli Bendersky2013-08-311-17/+17
| | | | | | | | | | | | The latter is more ambiguous. Related to issue #17741
* | Issue #17741: Rename IncrementalParser and its methods.Eli Bendersky2013-08-301-90/+105
| | | | | | | | | | | | The new names are hopefully more descriptive and consistent. If you feel you don't agree with this change, *please* read issue 17741 first - there's a lot of discussion in there.
* | Issue #18760: Improved cross-references in the xml package.Serhiy Storchaka2013-08-291-2/+3
|\ \ | |/
| * Issue #18760: Improved cross-references in the xml package.Serhiy Storchaka2013-08-291-2/+3
| |
* | Merge doc fix from 3.3Eli Bendersky2013-08-251-8/+8
|\ \ | |/
| * Update XMLParser.close documentation and fix formatting.Eli Bendersky2013-08-251-7/+9
| | | | | | | | | | | | | | | | Using ``method`` markup because the method is on a callback object, not an explicitly documented method. :meth: markup creates links within the current class which is incorrect. In addition, indent the paragraph correctly.
* | Fix markup in elementtree docs.Ezio Melotti2013-08-251-2/+2
| |
* | Clarify the documentation of XMLParser.closeEli Bendersky2013-08-241-1/+3
| | | | | | | | | | | | The return value of close() is not always a toplevel element. It depends on what the underlying target returns. By default, TreeBuilder returns the toplevel document element.
* | Issue #17902: Clarify doc of ElementTree.iterparse and IncrementalParserEli Bendersky2013-08-041-2/+3
|\ \ | |/ | | | | Based on patch by Aaron Oakley
| * Issue #17902: Clarify doc of ElementTree.iterparseEli Bendersky2013-08-041-1/+2
| |
* | Clarify docs too: events can be any sequence (not that the C code supports it)Eli Bendersky2013-05-191-3/+3
| |
* | Add some documentation for IncrementalParesrEli Bendersky2013-04-201-2/+35
| |