Welcome to Dream.In.Code
Getting Help is Easy!

Join 105,763 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,656 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Need help updating an XML file

 
Reply to this topicStart new topic

Need help updating an XML file

Ennio
post 29 May, 2008 - 04:49 PM
Post #1


New D.I.C Head

*
Joined: 29 May, 2008
Posts: 1

I need to update an XML file in the server when the user submit the form, and I would like some help on how to do this since I never worked with CF and XML file before.

The XML file is the following.

CODE

<galleries autoplay="true" autoplayLoop="true" autoplayDelay="6000" audio="PetGal/upcountry.mp3" audioLabel="slide show music" >
         <img src="Yale.jpg" title="Louis is fashionable in his Up Country Yale collar!" caption="Yale University, New Haven, CT" target="_self" />
</galleries>


So everytime the user submit the form I need to add another <img> tag to the XML file so it can update the photo gallery. Any idea on how can I do this.
User is offlineProfile CardPM

Go to the top of the page


ryanaghdam
post 1 Jul, 2008 - 07:48 AM
Post #2


New D.I.C Head

*
Joined: 14 Jun, 2008
Posts: 8


My Contributions


QUOTE(Ennio @ 29 May, 2008 - 04:49 PM) *

I need to update an XML file in the server when the user submit the form, and I would like some help on how to do this since I never worked with CF and XML file before.

The XML file is the following.

CODE

<galleries autoplay="true" autoplayLoop="true" autoplayDelay="6000" audio="PetGal/upcountry.mp3" audioLabel="slide show music" >
         <img src="Yale.jpg" title="Louis is fashionable in his Up Country Yale collar!" caption="Yale University, New Haven, CT" target="_self" />
</galleries>


So everytime the user submit the form I need to add another <img> tag to the XML file so it can update the photo gallery. Any idea on how can I do this.



It is likely there is something built into CF, but you should just store the results in a database and create the XML on the fly. Should be less of a headache, and will give you more flexible data.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/21/08 01:58PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month