Scheduled maintenance alert

Our website will undergo maintenance from Di, 19.11.2024, 20:00 CEST to Di, 19.11.2024, 22:00 CEST, which may cause occasional service disruptions. We apologize for any inconvenience and appreciate your understanding.

Content

Page tree

This example code will return two different results depending of the existence of the content of variable some_var

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText>
	<If condition="$(empty:$(var:some_var))">
		<Text>No variable received<br/></Text>
	</If><Else>
		<Text>Variable received<br/>some_var:$(var:some_var)</Text>
	</Else>
</SnomIPPhoneText>


Result if called with http://server/thisexample.xml#var:some_var=hello_world :


Result if called only with http://server/thisexample.xml :