Seo Forum

Coding & Programming => Programming Forum => Topic started by: chinmay.sahoo on 12-16-2015, 02:28:11

Title: Generate XML with Server-Side Programs
Post by: chinmay.sahoo on 12-16-2015, 02:28:11
The XML datagrams exchanged between clients and servers on the Internet become even more interesting when the content of the XML datagram is generated dynamically in response to each request. This allows a server to
provide an interesting web service, returning datagrams that can answer questions like these:

What are the French restaurants within one city block of the Geary Theatre?


Quote
<?xml version="1.0"?>
<RestaurantList>
<Restaurant Name="Brasserie Savoy" Phone="415-123-4567"/>
</RestaurantList>

When is Lufthansa Flight 458 expected to arrive at SFO today?

Quote
<?xml version="1.0"?>
<FlightArrival Date="06-05-2000">
<Flight>
<Carrier>LH</Carrier>
<Arrives>SFO</Arrives>
<Expected>14:40</Expected>
</Flight>
</FlightArrival>