Hello,
I wonder if anyone can help I have a 3 field delimted text file as shown below and I want to create an xml document from that which is also shown below. It is | delimited with a ^ as the end of record marker.
The text file is.....
abc123 | Luton | $234,500 ^
The xml that I am after would be.....
<properties>
<property>
<property_id>abc123</property>
<location>Luton</location>
<price>$234,500</price>
</property>
</properties>
I need the php to create the file and call it propery.xml
Can anyone help me please ????????