Location: PHPKode > projects > phpSyncML > phpsyncml/wbxml/docs/examples/syncml_client_packet_2.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:metinf1.1">
     b64
    </Format>
    <Type xmlns="syncml:metinf1.1">
     syncml:auth-md5
    </Type>
   </Meta>
   <Data>
    amO5sygiWy+nqxA2r0++BA==
   </Data>
  </Cred>
  <Meta>
   <MaxMsgSize xmlns="syncml:metinf1.1">
    10000
   </MaxMsgSize>
   <MaxObjSize xmlns="syncml:metinf1.1">
    4000000
   </MaxObjSize>
  </Meta>
 </SyncHdr>
 <SyncBody>
  <Put>
   <CmdID>
    1
   </CmdID>
   <Meta>
    <Type xmlns="syncml:metinf1.1">
     application/vnd.syncml-devinf+xml
    </Type>
   </Meta>
   <Item>
    <Source>
     <LocURI>
      ./devinf11
     </LocURI>
    </Source>
    <Data>
    </Data>
   </Item>
  </Put>
  <Get>
   <CmdID>
    2
   </CmdID>
   <Meta>
    <Type xmlns="syncml:metinf1.1">
     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:metinf1.1">
      <Next>
       20030925T175524Z
      </Next>
     </Anchor>
    </Meta>
   </Item>
  </Alert>
  <Final>
  </Final>
 </SyncBody>
</SyncML>
Return current item: phpSyncML