list_size callback #

Demo

Example 1: Get list size of simple MenuItem

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd">
    <MenuItem name="line1"></MenuItem>
    <MenuItem name="line2"></MenuItem>
    <MenuItem name="line3"></MenuItem>
    <MenuItem name="list_size:$(list_size)"></MenuItem><!-- list_size:3-->
    <MenuItem name="line5"></MenuItem>
</SnomIPPhoneMenu>

Example 2: Get list size of simple MenuItem

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd">
    <Text>
        line1<br />
        line2<br />
        lorem ipusfjsaöljkfsaölj
        lkfölsdajföl jfö jfkj aöfjs 
        jfödajföj aölj öojsfdjsdkfjöldfj<br />
        list_size:$(list_size)
    </Text><!-- list_size:6 -->
</SnomIPPhoneText>