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)
TIMAI2
June 19, 2022, 4:54pm
2
You need to sort out your source first:
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
system
Closed
June 26, 2022, 6:17pm
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.