foreach var,xmlitem
Foreach operator. Looking through all items with the help of the foreach operator. Defining an optional variable of the xmltags type is required. The foreach statement is used for variables of the xmlitem type and goes through all child tag items of the current tag.
xmltags xtags
xmlitem curtag
...
foreach xmlitem cur, curtag.tags( xtags )
{
...
}
foreach variable,xmlitem.tags( xmltags ) {...}
Related links | Source |