none
incluir editar dados de um xml especifico RRS feed

  • Pergunta

  • senhores...
     tenho esse xml abaixo.  preciso atraves de um formulario especifico inserir alguns dados em uma parte desse XML que se chama "appointment" dentro de "appointments"
    como faço isso !? alguem pode me ajudar ?!

    grato Igor
    - <C1Schedule version="2.0.20083.259">
    - <Labels>
    - <Label Id="d3f876f9-881b-478c-8594-4941b92d6424" Index="-1">
      <Color>255, 255, 255, 255</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 255, 255, 255</BackColor> 
      </Brush>
      <Text>None</Text> 
      <MenuCaption>None</MenuCaption> 
      </Label>
    - <Label Id="9efa1881-a29d-461d-bc50-e8027b12dd4c" Index="-1">
      <Color>255, 255, 182, 193</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 255, 182, 193</BackColor> 
      </Brush>
      <Text>Importante</Text> 
      <MenuCaption>Importante</MenuCaption> 
      </Label>
    - <Label Id="da09a26c-5ab3-460a-bd2c-e992b9e86e2b" Index="-1">
      <Color>255, 176, 196, 222</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 176, 196, 222</BackColor> 
      </Brush>
      <Text>Negocios</Text> 
      <MenuCaption>Negocios</MenuCaption> 
      </Label>
    - <Label Id="7669ce0f-888c-4c50-bb4c-52e592310ddb" Index="-1">
      <Color>255, 154, 205, 50</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 154, 205, 50</BackColor> 
      </Brush>
      <Text>Casamento</Text> 
      <MenuCaption>Casamento</MenuCaption> 
      </Label>
    - <Label Id="002dfb0d-46d8-4b87-9b98-9b1d909b0249" Index="-1">
      <Color>255, 255, 127, 80</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 255, 127, 80</BackColor> 
      </Brush>
      <Text>Festas e Eventos</Text> 
      <MenuCaption>Festas e Eventos</MenuCaption> 
      </Label>
    - <Label Id="de9aef44-72b3-4787-97b8-fb6bc4aff6a0" Index="-1">
      <Color>255, 221, 160, 221</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 221, 160, 221</BackColor> 
      </Brush>
      <Text>Aniversário</Text> 
      <MenuCaption>Aniversário</MenuCaption> 
      </Label>
    - <Label Id="79dc5773-4da2-465c-8ca0-a5842014d01a" Index="-1">
      <Color>255, 176, 224, 230</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 176, 224, 230</BackColor> 
      </Brush>
      <Text>Produções Fotográficas</Text> 
      <MenuCaption>Produções Fotográficas</MenuCaption> 
      </Label>
      </Labels>
    - <Statuses>
    - <Status Id="ed87f852-8590-4aab-b728-a02203730791" Index="-1">
      <Color>255, 0, 0, 255</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 0, 0, 255</BackColor> 
      </Brush>
      <Text>Busy</Text> 
      <MenuCaption>Busy</MenuCaption> 
      </Status>
    - <Status Id="bda8b713-2eb9-4f34-ae9c-5d0c7abc22d7" Index="-1">
      <Color>255, 255, 255, 255</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 255, 255, 255</BackColor> 
      </Brush>
      <Text>Free</Text> 
      <MenuCaption>Free</MenuCaption> 
      </Status>
    - <Status Id="7a18315f-8290-4c2c-ab0c-60fb527dc3e8" Index="-1">
      <Color>255, 128, 0, 128</Color> 
    - <Brush>
      <Style>1</Style> 
      <BackColor>255, 238, 130, 238</BackColor> 
      </Brush>
      <Text>Out of Office</Text> 
      <MenuCaption>Out of Office</MenuCaption> 
      </Status>
    - <Status Id="e6569eef-845e-41fe-8772-c7a252d467f9" Index="-1">
      <Color>255, 0, 0, 255</Color> 
    - <Brush>
      <Style>2</Style> 
      <BackColor>255, 255, 255, 255</BackColor> 
      <ForeColor>255, 0, 0, 255</ForeColor> 
      </Brush>
      <Text>Tentative</Text> 
      <MenuCaption>Tentative</MenuCaption> 
      </Status>
      </Statuses>
    - <Appointments>
    - <Appointment Id="63d4e9ad-e54d-47f1-8902-cddb59e681c7" Index="-1">
      <Body>teste</Body> 
      <Location>bardno</Location> 
      <Subject>casamento de fulano</Subject> 
      <Start>01/07/2009 14:30:00</Start> 
      <Duration>18000000000</Duration> 
    - <AppointmentProps>
    - <Reminder>
      <OverrideDefault>False</OverrideDefault> 
      <PlaySound>True</PlaySound> 
      <SoundFile /> 
      <TimeBeforeStart>9000000000</TimeBeforeStart> 
      <Set>True</Set> 
      </Reminder>
      <BusyStatus Id="ed87f852-8590-4aab-b728-a02203730791" Index="-1" /> 
      <Label Id="7669ce0f-888c-4c50-bb4c-52e592310ddb" Index="-1" /> 
      </AppointmentProps>
      </Appointment>
    - <Appointment Id="965e6ed3-15d2-4051-9652-6a1344cc3d48" Index="-1">
      <Body>cccc</Body> 
      <Location>aaaa;bbbbb</Location> 
      <Subject>sssss</Subject> 
      <Start>07/07/2009 10:00:00</Start> 
      <Duration>72000000000</Duration> 
    - <AppointmentProps>
    - <Reminder>
      <OverrideDefault>False</OverrideDefault> 
      <PlaySound>True</PlaySound> 
      <SoundFile /> 
      <TimeBeforeStart>9000000000</TimeBeforeStart> 
      <Set>True</Set> 
      </Reminder>
      <BusyStatus Id="ed87f852-8590-4aab-b728-a02203730791" Index="-1" /> 
      <Label Id="d3f876f9-881b-478c-8594-4941b92d6424" Index="-1" /> 
      </AppointmentProps>
      </Appointment>
      </Appointments>
      </C1Schedule>
    segunda-feira, 27 de julho de 2009 20:32

Respostas

Todas as Respostas