Location: PHPKode > projects > phpSyncML > phpsyncml/wbxml/docs/examples/syncml_client_packet_1.xml
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd">
<SyncML xmlns="syncml:SYNCML1.1">
 <SyncHdr>
  <VerDTD>
   1.1
  </VerDTD>
  <VerProto>
   SyncML/1.1
  </VerProto>
  <SessionID>
   0
  </SessionID>
  <MsgID>
   1
  </MsgID>
  <Target>
   <LocURI>
    http://pyramid6.com:8080/sync
   </LocURI>
  </Target>
  <Source>
   <LocURI>
    AA712857A16E02800
   </LocURI>
   <LocName>
    anthony
   </LocName>
  </Source>
  <Cred>
   <Meta>
    <Format xmlns="syncml:metinf">
     b64
    </Format>
    <Type xmlns="syncml:metinf">
     syncml:auth-md5
    </Type>
   </Meta>
   <Data>
    amO5sygiWy+nqxA2r0++BA==
   </Data>
  </Cred>
  <Meta>
   <MaxMsgSize xmlns="syncml:metinf">
    10000
   </MaxMsgSize>
   <MaxObjSize xmlns="syncml:metinf">
    4000000
   </MaxObjSize>
  </Meta>
 </SyncHdr>
 <SyncBody>
  <Put>
   <CmdID>
    1
   </CmdID>
   <Meta>
    <Type xmlns="syncml:metinf">
     application/vnd.syncml-devinf+xml
    </Type>
   </Meta>
   <Item>
    <Source>
     <LocURI>
      ./devinf11
     </LocURI>
    </Source>
    <Data>
     <DevInf xmlns="syncml:devinf">
      <VerDTD>
       1.1
      </VerDTD>
      <Man>
       Synthesis AG
      </Man>
      <Mod>
       Synthesis Sync Client 1.1 PocketPC Std
      </Mod>
      <OEM>
       Synthesis AG
      </OEM>
      <SwV>
       2.0.1.9
      </SwV>
      <DevID>
       SySync Client PocketPC Std
      </DevID>
      <DevTyp>
       workstation
      </DevTyp>
      <UTC>
      </UTC>
      <SupportNumberOfChanges>
      </SupportNumberOfChanges>
      <SupportLargeObjs>
      </SupportLargeObjs>
      <DataStore>
       <SourceRef>
        ./contacts
       </SourceRef>
       <MaxGUIDSize>
        64
       </MaxGUIDSize>
       <Rx-Pref>
        <CTType>
         text/x-vcard
        </CTType>
        <VerCT>
         2.1
        </VerCT>
       </Rx-Pref>
       <Tx-Pref>
        <CTType>
         text/x-vcard
        </CTType>
        <VerCT>
         2.1
        </VerCT>
       </Tx-Pref>
       <SyncCap>
        <SyncType>
         1
        </SyncType>
        <SyncType>
         2
        </SyncType>
        <SyncType>
         3
        </SyncType>
        <SyncType>
         4
        </SyncType>
        <SyncType>
         5
        </SyncType>
        <SyncType>
         6
        </SyncType>
       </SyncCap>
      </DataStore>
      <CTCap>
       <CTType>
        text/x-vcard
       </CTType>
       <PropName>
        BEGIN
       </PropName>
       <ValEnum>
        VCARD
       </ValEnum>
       <PropName>
        END
       </PropName>
       <ValEnum>
        VCARD
       </ValEnum>
       <PropName>
        VERSION
       </PropName>
       <ValEnum>
        2.1
       </ValEnum>
       <PropName>
        N
       </PropName>
       <PropName>
        TITLE
       </PropName>
       <PropName>
        ORG
       </PropName>
       <PropName>
        BDAY
       </PropName>
       <PropName>
        TEL
       </PropName>
       <PropName>
        EMAIL
       </PropName>
       <PropName>
        URL
       </PropName>
       <PropName>
        NOTE
       </PropName>
       <PropName>
        ADR
       </PropName>
      </CTCap>
     </DevInf>
    </Data>
   </Item>
  </Put>
  <Get>
   <CmdID>
    2
   </CmdID>
   <Meta>
    <Type xmlns="syncml:metinf">
     application/vnd.syncml-devinf+xml
    </Type>
   </Meta>
   <Item>
    <Target>
     <LocURI>
      ./devinf11
     </LocURI>
    </Target>
   </Item>
  </Get>
  <Alert>
   <CmdID>
    3
   </CmdID>
   <Data>
    201
   </Data>
   <Item>
    <Target>
     <LocURI>
      contacts
     </LocURI>
    </Target>
    <Source>
     <LocURI>
      ./contacts
     </LocURI>
    </Source>
    <Meta>
     <Anchor xmlns="syncml:metinf">
      <Next>
       20030925T175524Z
      </Next>
     </Anchor>
    </Meta>
   </Item>
  </Alert>
  <Final>
  </Final>
 </SyncBody>
</SyncML>
Return current item: phpSyncML