Name

kxml.requireend — Test if the current event is END_TAG type and do match the given name.

Description

Test if the current event is END_TAG type and do match the given name and any namespace. 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.

Synopsis

kxml.requireend xmlParser name

#-- assert we have reach the END_TAG event of "forecast_conditions"
kxml.requireend $xmlParser "forecast_conditions"