Question
Wrting to an XML file using Coldfusion
Hi All,I need some help with .
I have an XML file like:
<Emp>
<Name></Name>
<City></City>
<State></State>
</Emp>
And one form , where I am trying to submit the form values which are as input fields and add or append the old xml content with the new content.So that the above file looks like:
<Emp>
<Name>Jack</Name>
<City>Jonney</City>
<State>New Jersey</State>
</Emp>
I have seen CFFIle but then it seems to be saving the whole XML file and here I want to just update specific elements.
Thanks in advance.
I have an XML file like:
<Emp>
<Name></Name>
<City></City>
<State></State>
</Emp>
And one form , where I am trying to submit the form values which are as input fields and add or append the old xml content with the new content.So that the above file looks like:
<Emp>
<Name>Jack</Name>
<City>Jonney</City>
<State>New Jersey</State>
</Emp>
I have seen CFFIle but then it seems to be saving the whole XML file and here I want to just update specific elements.
Thanks in advance.
