Generate XML with Server-Side Programs

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

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 159
  • Karma: 0
    • Hot Shaper
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
1050 Views
Last post 03-09-2012, 03:32:46
by techie
0 Replies
899 Views
Last post 03-13-2012, 00:49:08
by techie
0 Replies
1413 Views
Last post 09-25-2013, 07:27:51
by sandyrobert
1 Replies
874 Views
Last post 05-16-2016, 02:06:04
by TomClarke
0 Replies
688 Views
Last post 07-21-2016, 05:54:53
by chinmay.sahoo