Content

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Index:

Table of Contents



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

Code Block
titleXML 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:

Image Added


Include Page
Howto Footer - uni-en
Howto Footer - uni-en

Content by Label
showLabelsfalse
max50
showSpacefalse
sorttitle
cqllabel = "xml-minibrowser" and label = "main-tags" and type = "page"



Sv translation
languagede

Inhalt:

Table of Contents



Beschreibung

Das SnomIPPhoneBatch-Tag (oder IPPhoneBatch) enthält eine Folge von weiteren Hauptelementen (Dokumentelementen), um mehrere kleinere XML-Dokumente in einer Datei zusammenzufassen

Alle bis auf die ersten Hauptelemente im Batch sollten ein eindeutiges id-Attribut haben, um auswählbar zu sein. Ein Hauptelement kann ausgewählt werden, um durch den URI-Fragment-Befehl sub={XPath-step} verarbeitet zu werden, wobei {XPath-step} ein XPath-Schrittausdruck für die Ebene der Batch-Subelemente ist. Beispiel URL: http://example.com/example.xml#sub=[@id="example-id"]

Standardmäßig wird das erste Hauptelement im Batch verarbeitet.



Gültige Subtags

Der IPPhoneBatch kann alle Haupt-Tags enthalten:



Beispiele

Code Block
titleXML 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>


Ergebnis:


Include Page
Howto Footer - de
Howto Footer - de

Content by Label
showLabelsfalse
max50
showSpacefalse
sorttitle
cqllabel = "xml-minibrowser" and label = "main-tags" and type = "page"