Home | Trees | Index | Help |
---|
Package restxsl :: Module restxmldoc :: Class XpathReference |
|
Node
--+ |Element
--+ | XpathReference
Method Summary | |
---|---|
__init__(self,
xpath)
| |
Inherited from Element | |
| |
| |
| |
Append a node or a list of nodes to self.children . | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Return a copy of self. | |
Return a deep copy of self (also copying children). | |
| |
| |
| |
| |
Return the index of the first child whose class exactly matches. | |
Return the index of the first child whose class does not match. | |
| |
| |
| |
| |
| |
| |
| |
Note that this Element has been referenced by its name name or id id . | |
Return an indented pseudo-XML representation, for test purposes. | |
| |
| |
Replace one child Node with another child or children. | |
Replace self node with new , where new is a node or a
list of nodes. | |
Add a new class to the "classes" attribute. | |
| |
| |
| |
Update basic attributes ('ids', 'names', 'classes', 'dupnames', but not 'source') from node or dictionary dict . | |
Inherited from Node | |
Node instances are always true, even if they're empty. | |
Return a DOM fragment representation of this Node. | |
Return the first node in the iterable returned by traverse(), or None if the iterable is empty. | |
| |
Return an iterable containing | |
Traverse a tree of Node objects, calling the
dispatch_visit() method of visitor when entering each
node. | |
Perform a tree traversal similarly to Node.walk() (which
see), except also call the dispatch_departure() method
before exiting each node. |
Class Variable Summary | |
---|---|
Inherited from Element | |
str |
child_text_separator = '\n\n'
|
tuple |
list_attributes = ('ids', 'classes', 'names', 'dupnames'...
|
NoneType |
tagname = None |
Inherited from Node | |
NoneType |
document = None |
NoneType |
line = None |
NoneType |
parent = None |
NoneType |
source = None |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jul 12 11:20:41 2006 | http://epydoc.sf.net |