kxml.requirestart — Test if the current event is START_TAG type and do match the given name.
Test if the current event is START_TAG type do match the given name and any namesapce. If the test is not passed, an exception is thrown. The exception text indicates the parser position, the expected event and the current event that is not meeting the requirement.
kxml.requirestart
xmlParser
name
#-- assert the current event is a START_TAG event "forecast_conditions" kxml.requirestart $xmlParser "forecast_conditions"