[Tutor] number of nodes

Kent Johnson kent37 at tds.net
Thu Mar 30 22:29:15 CEST 2006


kakada wrote:
> Hello everyone,
> 
> textp = xmldoc.getElementsByTagName('text:p')
> 
> from the example above, How can I know how many <text:p> node are there?

len(textp), maybe?

Kent



More information about the Tutor mailing list