O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.10. elseif

Element typeelseif
Attributescond
Parentsif
ChildrenNone.
DescriptionDeclares the beginning of an "else-if code block" within an if element. All elements within the if element after the elseif element but before the next elseif or else elements are executed only if the if element's cond attribute and all subsequent elseif elements' cond attributes all evaluate to false and the elseif element's cond attribute evaluates to true.

DTD

<!ELEMENT elseif EMPTY >
<!ATTLIST elseif 
  %if.attrs; >

Language model

Attributes

cond : expression

An ECMAScript expression. If it evaluates to true, the elements after the elseif and before the next elseif ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required