File: syncml-009.xml

package info (click to toggle)
wbxml2 0.11.10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,320 kB
  • sloc: ansic: 12,724; xml: 6,399; perl: 294; sh: 200; makefile: 8; cpp: 7
file content (54 lines) | stat: -rw-r--r-- 2,119 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd">
<SyncML>
    <SyncHdr>
        <VerDTD>1.1</VerDTD>
        <VerProto>SyncML/1.1</VerProto>
        <SessionID>1</SessionID>
        <MsgID>1</MsgID>
        <Target><LocURI>http://www.syncml.org/sync-server</LocURI></Target>
        <Source><LocURI>IMEI:493005100592800</LocURI></Source>
        <Cred> <!--The authentication is optional.-->
            <Meta><Type xmlns='syncml:metinf'>syncml:auth-basic</Type></Meta>
            <Data>QnJ1Y2UyOk9oQmVoYXZl</Data> <!--base64 formatting of "userid:password"-->
        </Cred>
    </SyncHdr>
    <SyncBody>
        <Alert>
            <CmdID>1</CmdID>
            <Data>200</Data> <!-- 200 = TWO_WAY_ALERT -->
            <Item>
                <Target><LocURI>./contacts/james_bond</LocURI></Target>
                <Source><LocURI>./dev-contacts</LocURI></Source>
                <Meta>
                    <Anchor xmlns='syncml:metinf'>
                        <Last>234</Last>
                        <Next>276</Next>
                    </Anchor>
                </Meta>
            </Item>
        </Alert>
        <Sync>
            <CmdID>2</CmdID>
            <Target><LocURI>./contacts/james_bond</LocURI></Target>
            <Source><LocURI>./dev-contacts</LocURI></Source>
            <Meta>
                <Mem xmlns='syncml:metinf'>
                    <FreeMem>8100</FreeMem>
                    <!--Free memory (bytes) in Calendar database on a device -->
                    <FreeID>81</FreeID>
                    <!--Number of free records in Calendar database-->
                </Mem>
            </Meta>
            <Replace>
                <CmdID>3</CmdID>
                <Meta><Type xmlns='syncml:metinf'>text/x-vcard</Type></Meta>
                <Item>
                    <Source><LocURI>1012</LocURI></Source>
                    <Data><!--The vCard data would be placed here.--></Data>
                </Item>
            </Replace>
        </Sync>
        <Final/>
    </SyncBody>
</SyncML>