문제

I am try to use "logical and" in voicexml(with Viecore extensions)

Here is my code:

<if cond="(menuChangeOn == 'YES')&&(businessGroup == '<%=Viecore.ABCCompany.DataAccess.Constants.CURRENT_MODULE.Main_Number%>')">

The "&&" seems to cause trouble while the voice xml file is parsed.

What's the best practice to resolve this common problem?

도움이 되었습니까?

해결책

It XML, so you must use XML entities &amp; for the ampersand symbol. So instead of &&, use &amp;&amp;.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top