Add XML to another XML


let's have xml data looking this:

<vfpdata>

  <issuedetails>

    <id>26</id>

    <custno>04000</custno>

  </issuedetails>

  <sku35576>

    <action>audit existing inventory</action>

    <selected>false</selected>

  </sku35576>

</vfpdata>

i want add xml following xml:

<vfpdata>

  <sku35578>

    <action>audit existing inventory</action>

    <selected>false</selected>

  </sku35578>

</vfpdata>

 

so, whole thing this:

<vfpdata>

  <issuedetails>

    <id>26</id>

    <custno>04000</custno>

  </issuedetails>

  <sku35576>

    <action>audit existing inventory</action>

    <selected>false</selected>

  </sku35576>

  <sku35578>

    <action>audit existing inventory</action>

    <selected>false</selected>

  </sku35578>

</vfpdata>   

 

thanks help.

i imagine you'd have append in information using php or language.

 

 

search xml file last entry, remove end tag, write in information want , replace end tag.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO