summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2010-05-12 02:24:50 +0000
committerFred Drake <fdrake@acm.org>2010-05-12 02:24:50 +0000
commit62bebdf49f327a7ab7d6a86da80b714bfd9e4061 (patch)
tree9bf601b31ab2ca3e5b3dc09491ec2c8c27ce35c6
parent5840469067854f93ce1b22e9e85866e5a460b472 (diff)
downloadcpython-git-62bebdf49f327a7ab7d6a86da80b714bfd9e4061.tar.gz
- clarify Attr.name comment on the presence of colons in namespace mode
- document Attr.value - wrap some long lines
-rw-r--r--Doc/library/xml.dom.rst15
1 files changed, 12 insertions, 3 deletions
diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst
index 0f9172386d..10696156f5 100644
--- a/Doc/library/xml.dom.rst
+++ b/Doc/library/xml.dom.rst
@@ -705,18 +705,27 @@ Attr Objects
.. attribute:: Attr.name
- The attribute name. In a namespace-using document it may have colons in it.
+ The attribute name.
+ In a namespace-using document it may include a colon.
.. attribute:: Attr.localName
- The part of the name following the colon if there is one, else the entire name.
+ The part of the name following the colon if there is one, else the
+ entire name.
This is a read-only attribute.
.. attribute:: Attr.prefix
- The part of the name preceding the colon if there is one, else the empty string.
+ The part of the name preceding the colon if there is one, else the
+ empty string.
+
+
+.. attribute:: Attr.value
+
+ The text value of the attribute. This is a synonym for the
+ :attr:`nodeValue` attribute.
.. _dom-attributelist-objects: