Oh, now I remember why I didn't use AVT's - I wanted to toggle more than two cases, so if()then''else'' wouldn't be sufficient.
By any chance, is there a way in xpath 2.0 to simulate a "select case..." statement?
What I ended up doing was just using a number of <xforms:toggle if=(condition)> elements, but I'm still curious if there's a way to do this with Xpath.
-- Francis