Writing XML back to the webserver on iPhone
I am writing an iPhone application that will be used to find the line information at local bars/social spots. In the application, I parse an XML file from a web server. Here is the structure of the XML:
    
    <?xml version="1.0" encoding="UTF-8"?>
	<Bars>
		<Bar>Kam's</Bar>
		<Line>10</Line>
		<Bar>Cly's</Bar>
		<Line>10</Line>
		<Bar>Joe's</Bar>
		<Line>10</Line>
		<Bar>The Red Lion</Bar>
	</Bars>

This data is then displayed in a tableview with the Bar and the Line shown. If a user selects an element in the table, a uiactionview appears and requests for the user to update the line information for that particular bar. I know how to take the users input.

The problem I am having, and I really don't know where to begin, is figuring out how to rewrite the XML and put it back in the same location on the web server. Does anyone know of a tutorial or could possibly get me started with this?

Thanks so much.
Writing XML back to the webserver on iPhone
===

I am writing an iPhone application that will be used to find the line information at local bars/social spots. In the application, I parse an XML file from a web server. Here is the structure of the XML:
    
    <?xml version="1.0" encoding="UTF-8"?>
	<Bars>
		<Bar>Kam's</Bar>
		<Line>10</Line>
		<Bar>Cly's</Bar>
		<Line>10</Line>
		<Bar>Joe's</Bar>
		<Line>10</Line>
		<Bar>The Red Lion</Bar>
	</Bars>

This data is then displayed in a tableview with the Bar and the Line shown. If a user selects an element in the table, a uiactionview appears and requests for the user to update the line information for that particular bar. I know how to take the users input.

The problem I am having, and I really don't know where to begin, is figuring out how to rewrite the XML and put it back in the same location on the web server. Does anyone know of a tutorial or could possibly get me started with this?

Thanks so much.