summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.dom.rst
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2010-05-12 02:34:50 (GMT)
committerFred Drake <fdrake@acm.org>2010-05-12 02:34:50 (GMT)
commitade19175c8f6bfc82b61137dbc47e38b14bb422e (patch)
treeb04904f7a8d4ed5164a035cb3b34a8925a37a8a2 /Doc/library/xml.dom.rst
parent1587e3d1e6e8c31766dc43b1bc902506f36fbdc7 (diff)
downloadcpython-ade19175c8f6bfc82b61137dbc47e38b14bb422e.zip
cpython-ade19175c8f6bfc82b61137dbc47e38b14bb422e.tar.gz
cpython-ade19175c8f6bfc82b61137dbc47e38b14bb422e.tar.bz2
Merged revisions 81108 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81108 | fred.drake | 2010-05-11 22:24:50 -0400 (Tue, 11 May 2010) | 4 lines - clarify Attr.name comment on the presence of colons in namespace mode - document Attr.value - wrap some long lines ........
Diffstat (limited to 'Doc/library/xml.dom.rst')
-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 45d30d6..ebe1092 100644
--- a/Doc/library/xml.dom.rst
+++ b/Doc/library/xml.dom.rst
@@ -693,18 +693,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: