Bsc CSIT Semester 5 – Web Technology – Unit 5. AJAX and XML
Comprehensive questions and detailed answers for Unit 5. AJAX and XML. Perfect for exam preparation and concept clarity.
What is the use of JSON? How can you parse a JSON, illustrate with an example.
What is XML? Create an XML file containing records of employee having elements of simple and complex types.
How XSD of a XML file is created? Illustrate with an example.
What is DTD? Create a XML file and write its equivalent DTD.
What is XML? Create an XML file containing records of employee having elements of simple and complex types.
How XSD of a XML file is created? Illustrate with an example.
How XML is different from HTML? Write XML script to create XML document containing element Person having sub elements Age, Name and Pincode. Write equivalent XSD for validating restrictions on the elements as the Age should be between 10 and 20, the Name should be only accepting either Ram or Shyam and the pincode should be 3 digit.
What is XML? Why is it called extensible? Mention the use of XML.
What is XMLHttpRequest object? Write HTML script with AJAX showing the use of XMLHttpRequest object.
What is the use of XML?Create a XML file with simple type and complex type elements. Write its equivalent DTD.
What is XML Namespace? How it is used to avoid element name conflict in XML? Justify with an example.
Describe the rules for creating XML document. Create a XML file with simple type and elements with attribute and nested elements. Write its equivalent XSD.
How can you transform XML document into HTML using XSLT. Support your answer with an example.
What is the use of XML? Create a XML file having complex type elements containing other elements and text. At least one element should contain an attribute. Similarly, there should be elements containing string, integer and date type values. Now write the equivalent XSD for the XML.
Sample Questions
What is XML? Create an XML file containing records of employee having elements of simple and complex types.
How XSD of a XML file is created? Illustrate with an example.
What is DTD? Create a XML file and write its equivalent DTD.
What is XML? Create an XML file containing records of employee having elements of simple and complex types.
And more questions available on this page.