Der Schaltwert bestimmt welcher Fall ausgewertet werden soll.

Element: on

Mögliche Kindelemente:

Beispiel: Pfadverwendung als Schaltwert

<switch>
  <on><use path='a'/></on>
  <case v='a'>
    ...
  </case>
</switch>

Beispiel: Variable als Schaltwert

<switch>
  <on><get var='i'/></on>
  <case v='0'>
    ...
  </case>
</switch>

Reaktion

War das hilfreich?

Ja Nein
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Hinterlasse einen Kommentar.

Kommentar senden