Content

Page tree

Index:




Description

The SnomIPPhoneBatch (or IPPhoneBatch) tag contains a sequence of other main elements (document elements) in order to combine several smaller XML documents in one file.

All but the first main elements in the batch should have an unique id attribute to be selectable. A main element can be selected to be processed by the URI fragment command sub={XPath-step}, where {XPath-step} is an XPath step expression for the level of the batch subelements. Example URL: http://example.com/example.xml#sub=[@id="example-id"]

By default the first main element in the batch is processed.


Valid Subtags

The IPPhoneBatch can contain all the main tags:



Examples

XML Code:
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneBatch>
    <SnomIPPhoneMenu id="menu">
        <Title>Menu</Title>
        <MenuItem name="show image">
            <URL>http://10.110.16.61/xml/minibrowser/SnomIPPhoneBatch.xml#sub=*[@id="imageFile"]</URL>
        </MenuItem>
        <MenuItem name="go somewhere else">
            <URL>file:///xml/text.xml#var:text=Welcome to Snom!</URL>
        </MenuItem>
    </SnomIPPhoneMenu>
    <SnomIPPhoneImageFile id="imageFile">
        <LocationX>0</LocationX>
        <LocationY>0</LocationY>
	<Height>600</Height>
	<Width>300</Width>
        <URL>https://service.snom.com/download/attachments/48400101/cloud.jpeg</URL>
    </SnomIPPhoneImageFile>
</SnomIPPhoneBatch>


Result: