Web and Internet Technology

105614
Back to Web and Internet Technology

Module 4: XML Presentation Technology & XML Processor

  1. 1(f). Which situation most strongly motivates using XML Schema rather than a basic DTD? (i) The document requires only element names (ii) The document requires richer data-type definitions (iii) The document must contain HTML styling (iv) The document must execute JavaScript20262m

    Module 4: XML Presentation Technology & XML Processor

    Which situation most strongly motivates using XML Schema rather than a basic DTD?

    (i) The document requires only element names
    (ii) The document requires richer data-type definitions
    (iii) The document must contain HTML styling
    (iv) The document must execute JavaScript

    View this question on its own page →
  2. 1(g). Suppose a program needs to repeatedly navigate from a parent XML element to its child elements and modify different nodes in memory. Which model is more suitable? (i) DOM (ii) SAX (iii) DTD (iv) XPointer20262m

    Module 4: XML Presentation Technology & XML Processor

    Suppose a program needs to repeatedly navigate from a parent XML element to its child elements and modify different nodes in memory. Which model is more suitable?

    (i) DOM
    (ii) SAX
    (iii) DTD
    (iv) XPointer

    View this question on its own page →
  3. 5(a). Explain the importance of XML Schema and discuss its advantages over Document Type Definition.20267m

    Module 4: XML Presentation Technology & XML Processor

    Explain the importance of XML Schema and discuss its advantages over Document Type Definition.

    View this question on its own page →
  4. 5(b). Differentiate between Document Object Model and Simple API for XML parsers. Compare their memory usage, parsing mechanism (tree-based vs. event-driven), speed and suitable use cases.20267m

    Module 4: XML Presentation Technology & XML Processor

    Differentiate between Document Object Model and Simple API for XML parsers. Compare their memory usage, parsing mechanism (tree-based vs. event-driven), speed and suitable use cases.

    View this question on its own page →
  5. 6(a). Write a JavaScript program to create and use a JavaScript object for storing student details such as name, roll number and course. Display the object properties dynamically on a web page.20267m

    Module 4: XML Presentation Technology & XML Processor

    Write a JavaScript program to create and use a JavaScript object for storing student details such as name, roll number and course. Display the object properties dynamically on a web page.

    View this question on its own page →
  6. 6(b). Explain the XMLHttpRequest object and describe its request and response objects with a suitable example.20267m

    Module 4: XML Presentation Technology & XML Processor

    Explain the XMLHttpRequest object and describe its request and response objects with a suitable example.

    View this question on its own page →