File: syncml-006.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 (56 lines) | stat: -rw-r--r-- 2,240 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
55
56
<?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>2</MsgID>
        <Target><LocURI>IMEI:493005100592800</LocURI></Target>
        <Source><LocURI>http://www.syncml.org/sync-server</LocURI></Source>
    </SyncHdr>
    <SyncBody>
        <Status>
            <CmdID>1</CmdID>
            <MsgRef>2</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd>
            <TargetRef>http://www.syncml.org/sync-server</TargetRef>
            <SourceRef>IMEI:493005100592800</SourceRef>
            <Data>200</Data>
        </Status>
        <Status><!--This is a status for the client modifications to the server.-->
            <CmdID>2</CmdID>
            <MsgRef>2</MsgRef><CmdRef>3</CmdRef><Cmd>Sync</Cmd>
            <TargetRef>./contacts/james_bond</TargetRef>
            <SourceRef>./dev-contacts</SourceRef>
            <Data>200</Data> <!--Statuscode for Success-->
        </Status>
        <Status>
            <CmdID>3</CmdID>
            <MsgRef>2</MsgRef><CmdRef>4</CmdRef><Cmd>Replace</Cmd>
            <SourceRef>1012</SourceRef>
            <Data>200</Data> <!--Statuscode for Success-->
        </Status>
        <Sync>
            <CmdID>4</CmdID>
            <Target><LocURI>./dev-contacts</LocURI></Target>
            <Source><LocURI>./contacts/james_bond</LocURI></Source>
            <Replace>
                <CmdID>5</CmdID>
                <Meta><Type xmlns='syncml:metinf'>text/x-vcard</Type></Meta>
                <Item>
                    <Target><LocURI>1023</LocURI></Target>
                    <Data><!--The vCard data would be placed here.--></Data>
                </Item>
            </Replace>
            <Add>
                <CmdID>6</CmdID>
                <Meta><Type xmlns='syncml:metinf'>text/x-vcard</Type></Meta>
                <Item>
                    <Source><LocURI>10536681</LocURI></Source>
                    <Data><!--The vCard data would be placed here.--></Data>
                </Item>
            </Add>
        </Sync>
        <Final/>
    </SyncBody>
</SyncML>