# XML Problem

**URL:** <https://forum.kirupa.com/t/xml-problem/182335>\
**Category:** Uncategorized\
**Created:** [March 17, 2006, 6:53am UTC](https://forum.kirupa.com/t/xml-problem/182335 "2006-03-17T06:53:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudhanshu](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@sudhanshu](https://forum.kirupa.com/u/sudhanshu)\
**Post date:** [March 17, 2006, 6:53am UTC](https://forum.kirupa.com/t/xml-problem/182335/1 "2006-03-17T06:53:04Z")

</div>

Greetings everyone,

I could retrieve data from mysql through PHP but I thinking to dump it to a XML file and then use that data for browsing.

If I am correct? (I have read those tutorials)

I will write data into a .XML file like

\<?xml version=“1.0”?\>  
\<news\> \<story\> [COLOR=RoyalBlue]\<[/COLOR][COLOR=RoyalBlue]headline\> Godzilla Attacks LA! \</headline\>[/COLOR] \<description\>Equipped with a Japanese Mind-control device, the giant monster has attacked important harbours along the California coast. President to take action. \</description\> \</story\>\</news\>\*\*

Now, my problem is:

**[LIST=1]  
[_]There is any efficient way to make this .xml file through PHP?  
[_]How I can I make RSS live for just news headlines?[/LIST]**[COLOR=Red]Please help 🙂

[/COLOR]\*\*

[SIZE=2]  
[/SIZE]
