No, that's not going to work when you have the uitleg's as text inside the ifelse stuff.
That's why you need to go to something like I wrote in post #2 in this thread for them.
Again, the big question: *DO* you ever have *nested* <ifelse> blocks???
That is, would you ever have something like this:
Code:
<wizard wizardid="Workflow1">
<uitleg id="Uitleg2">Uitleg</uitleg>
<uitleg id="Uitleg1">Uitleg</uitleg>
<ifelse id="IfElseActivity1">
IfElseActivity
<ifelsebranch id="IfElseBranchActivity1">
IfElseBranchActivity
<uitleg id="Uitleg3">Uitleg</uitleg>
<ifelse id="NestedIfElse1">
<ifelsebranch id="NestedIEBa">
nested if else branch a
<uitleg id="xxx">stuff</uitleg>
</ifelsebranch>
<ifelsebranch id="NestedIEBb">
nested if else branch b
<uitleg id="yyy">stuff</uitleg>
</ifelsebranch>
</ifelse>
</ifelsebranch>
<ifelsebranch id="IfElseBranchActivity2">
IfElseBranchActivity
<uitleg id="Uitleg4">Uitleg</uitleg>
</ifelsebranch>
</ifelse>
</wizard>
If not, I'd keep it pretty simple and avoid using recursion. If so, you have to be more careful.