> Hi Sidnei, > > doesn't "tree.getroot() is not None" work for you? Duh. How could I have missed that. Sorry. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214