hi, here i am again with a newbie problem...

I made a repeater to show me text lines from an XML, but for some reason 
it doesnt show me the value ONLY.

<mx:Repeater id="rIngredients" dataProvider="{rXML.ingredients}">
                            <mx:Text x="0" y="10" 
text="{rIngredients.currentItem.ingredient.quantity}" width="518" 
fontFamily="petitam" fontSize="12" enabled="true" color="#000000"/>    
               
</mx:Repeater>

it works, but shows: "<quantity>1 pc.</quantity>", in stead on just "1pc."

Also...i wanna join 2 XML values inside that text line, like this:

{rIngredients.currentItem.ingredient.quantity} - 
{rIngredients.currentItem.ingredient.ingname}

so i get: "tomatoes - 2".

Now if i do like that i get first a list of all quantities...then a list 
of all ingredients after that :(

Any idea of how to solve the 2 things?
thnx a lot for ur help

Reply via email to