[Zope-Checkins] CVS: Packages/Products/XMLDocument (Products/DC/XMLDocument) - Node.py:1.12
Amos Latteier
amos@korak.digicool.com
Tue, 7 Sep 1999 16:26:20 -0400
Update of /cvs-repository/Packages/Products/XMLDocument
In directory korak.digicool.com:/tmp/cvs-serv9279
Modified Files:
Node.py
Log Message:
Added a memory use improvement to deactive ghosts which were woken up in the course of the
'toXML' method.
Also added a convenience argument to 'text_content'. Now text_content(tagName) is a shortcut
for the text_content of sub-nodes with name 'tagName'. This is handy, for example given
element foo:
<foo>
<name>Foo's name</name>
</foo>
foo.text_content('name') returns "Foo's name".