6);
break;
case 9:
mealsXML.serving[0].lite.@cost='100';
theOutput= mealsXML.serving[0].lite.(@cost=='100');
break;
case 10:
mealsXML.serving[0].lite.meat='turkey bacon'
theOutput= mealsXML.serving[0].lite.(meat=='turkey bacon');
break;
}
}
private function initApp():void
{
mealsXML=
turkey
plain
bacon and sausage
blueberry
turkey
mustard only
pastrami
triple-decker
chicken breast
steamed veggies
t-bone
garlic mashed potatos
;
theXMLasString=mealsXML.toString();
}
]]>