Decode XML file Error 1105

Hi, I am trying to read a xml file (attached) in to labels (code attached)
In this example I am looking for the name of the Coordinator in Athlone_Congregation

I don't know enough about it to trouble shoot it myself, pls help

halls.xml.txt (533 Bytes)




You need to sort out your source first:

image

I change the xml file to:

<Details>
	<Athlone_Congregation>
		<Coordinator>Chris</Coordinator>
		<Mobile>0210210211</Mobile>
		<Email>chris@email.co.za</Email>
		<Day>Sundays</Day>
		<Time>14h15</Time>
		<Address>Cnr Lawrence Rd & Newton Ave, Athlone</Address>
	</Athlone_Congregation>
	<Belhar_Congregation>
		<Coordinator>August Engelbrecht</Coordinator>
		<Mobile>0210210211</Mobile>
		<Email>chris@email.co.za</Email>
		<Day>Sundays</Day>
		<Time>10h00</Time>
		<Address>220 The Hague Ave, Roosendal, Delft</Address>
	</Belhar_Congregation>
</Details>

and get an error for the address, are we not allowed spaces in it?

Okay I fixed it, can't have a space and a & in the xml, need to use the _ and 'and' instead, it works thanks.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.