1.1 --- a/__init__.py Sun Nov 02 01:41:08 2003 +0000
1.2 +++ b/__init__.py Sun Nov 02 18:14:51 2003 +0000
1.3 @@ -169,6 +169,12 @@
1.4 else:
1.5 return Node(self._node.parent)
1.6
1.7 + def _nextSibling(self):
1.8 + if self._node.next is not None:
1.9 + return Node(self._node.next)
1.10 + else:
1.11 + return None
1.12 +
1.13 def hasAttributeNS(self, ns, localName):
1.14 return self.getAttributeNS(ns, localName) is not None
1.15
1.16 @@ -311,6 +317,7 @@
1.17 parentNode = property(_parentNode)
1.18 nodeType = property(_nodeType)
1.19 attributes = property(_attributes)
1.20 + nextSibling = property(_nextSibling)
1.21
1.22 def isSameNode(self, other):
1.23 return self._node.nodePath() == other._node.nodePath()