Hi. I want to be able to get data from an XML file and get it into an objects array. This i am able to achieve. After which, How can I modify it so that I generate an HTML file at runtime. for example, if this is the XML file: Code: <section> <image>image1.png</image> <detail>Detailed strings here, could be very long</detail> </section> <section> <image>image2.png</image> <detail>more details here of variable length</detail> </section> After getting these two sections as two objects in an array, I want to dump it like an html file. example: Code: <p> <img src="image1.png"/> <h4>Detailed strings here, could be very long</h4> </p> all those html tags are predefined in a css file. Similarly with the second object. How do i add new html tags to the objects from the array and add it to file in an "end of file" way.