kxml.getname — For START_TAG or END_TAG events, the name of the current element is returned.
For START_TAG or END_TAG events, the name of the current element is returned.
kxml.getname
xmlParser
#-- loop over the stream as long as we reach the END_TAG event of "current_conditions" while {!= [strcmp [kxml.getname $xmlParser] "current_conditions"] 0 } { set name [kxml.getname $xmlParser] puts $name kxml.nexttag $xmlParser }