PDA

View Full Version : XML files ????


nessmuk53
7th May 2009, 02:33 PM
Please bear with me if this is not the correct forum, but I have what is likely a simple question (I know nothing about XML).

I want to include the local weather for Charlottesville VA on my Alltel HTC Touch which is running WM6.1. I copied the HH_WeatherCities file over to my laptop, opened it in notepad and made the following changes to the file:

I looked up Richmond VA and replaced Richmond and RICHMOND with Charlottesville (this follows Accuweathers naming convention)

<city name="Charlottesville, VA, US" loca="NAM|US|VA|CHARLOTTESVILLE" land="United States"/>

I then saved it with File type set to "All Files" and with UTF-8 as the encoding type.

The xml extension is intact.. Is it really as simple now as replacing the present file in my phones Windows folder with this one?? Or could I have damaged the XML file with Notepad.

Thanks for the help from a hopeless beginner in these matters.

DaveShaw
7th May 2009, 02:38 PM
Please bear with me if this is not the correct forum, but I have what is likely a simple question (I know nothing about XML).

I want to include the local weather for Charlottesville VA on my Alltel HTC Touch which is running WM6.1. I copied the HH_WeatherCities file over to my laptop, opened it in notepad and made the following changes to the file:

I looked up Richmond VA and replaced Richmond and RICHMOND with Charlottesville (this follows Accuweathers naming convention)

<city name="Charlottesville, VA, US" loca="NAM|US|VA|CHARLOTTESVILLE" land="United States"/>

I then saved it with File type set to "All Files" and with UTF-8 as the encoding type.

The xml extension is intact.. Is it really as simple now as replacing the present file in my phones Windows folder with this one?? Or could I have damaged the XML file with Notepad.

Thanks for the help from a hopeless beginner in these matters.

Yes, that's fine :)
I normally copy and paste a line and edit the new one with my town using notepad (or notepad++ :)).

XML files are just plain text.

EDIT: also moved to Q&A forum

Ta
Dave

nessmuk53
7th May 2009, 02:47 PM
Thanks Dave for the very quick reply.

Bob