LegendZorro
New Member
How can I generate a XML request file with the structure below using Simple?\[code\]<?xml version="1.0" encoding="UTF-8"?><ft> <request clientId="123" apiName="api_search_location_stops_nearby" apiVersion="2.0"> <client clientId="123"/> <requestType>api_search_location_stops_nearby</requestType> <outputCoords>WGS84</outputCoords> <fromCoordName>WGS84</fromCoordName> <fromType>coords</fromType> <fromWgs84Lat>48.22</fromWgs84Lat> <fromWgs84Lon>16.39</fromWgs84Lon> </request></ft>\[/code\]To generate the part \[code\]<request> ... </request>\[/code\] is easy, but how can I add the XML open tag \[code\]<?xml version="1.0" encoding="UTF-8"?>\[/code\] and the \[code\]<ft>\[/code\] and the end tag \[code\]</ft>\[/code\]?