Generate XML with Server-Side Programs

Author Topic: Generate XML with Server-Side Programs  (Read 556 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 153
  • Karma: 0
    • No Addiction
Generate XML with Server-Side Programs
« 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>


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
992 Views
Last post 03-09-2012, 03:32:46
by techie
0 Replies
849 Views
Last post 03-13-2012, 00:49:08
by techie
1 Replies
1363 Views
Last post 07-30-2015, 22:46:12
by anirban09P
1 Replies
799 Views
Last post 05-16-2016, 02:06:04
by TomClarke
0 Replies
575 Views
Last post 07-21-2016, 05:54:53
by chinmay.sahoo