PART - A Marks : 10 x 2 = 20
1.What is the power of Web Services being exposed through technologies like SOAP and REST?
2.What is the difference between a URI, a URL and a URN? Give an example for each.
3.Model the following information as XML document.
Name Email Phone Affiliation
John Doe john@doe.com 0621 /2040503 Doe Inc.
Jane Doe jane@doe.com 0621 /2040502 Doe Inc.
Kelly Edwards Kelly@abc.com +85 544 /1211245 MaryLand Inc.
Company Customer since Customer until
Doe Inc 10/2001 2/2005
MaryLand Inc. 2/2002 ---
4.Explain the concept of XML Namespaces. How are namespaces declared and used in XML?
6.What is understood by "validating" and "static typechecking" in XML processing? Give an example for each technique.
7.Consider the following XML document
<?xml version="1.0" ?>
<sales periods="2000 2001 2002 2003">
<country name="Germany">
<s>30</s>
<s>35</s>
<s>37</s>
<s>44</s>
</country>
<country name="France">
<s>21</s>
<s>24</s>
<s>23</s>
<s>19</s>
</country>
<country name="Italy">
<s>17</s>
<s>19</s>
<s>17</s>
<s>20</s>
</country>
</sales>
Write an XSLT stylesheet that renders the data in an HTML table as follows: