Home / CSE MCQs / Java XML ::

CSE MCQs :: Java XML

  1. Which are the main features of XML?
  2. A.
    Text data description
    B.
    Human- and computer-friendly format
    C.
    Handles data in a tree structure having one-and only one-root element
    D.
    All mentioned above

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. The default model for complex type, in XML schemas for element is
  4. A.
    textOnly
    B.
    elementOnly
    C.
    no default type
    D.
    both a & b

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What is a NCName
  6. A.
    A Non-Common Name
    B.
    A Non-Conforming Name
    C.
    A Non-Colonized Name
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Attribute standalone=no should be included in XML declaration if a document:
  8. A.
    is linked to an external XSL stylesheet
    B.
    has external general references
    C.
    has processing instructions
    D.
    has an external DTD

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. The use of a DTD in XML development is:
  10. A.
    required when validating XML documents
    B.
    no longer necessary after the XML editor has been customized
    C.
    used to direct conversion using an XSLT processor
    D.
    a good guide to populating a templates to be filled in when generating an XML document automatically

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. The XML format has a simpler set of ¦¦¦¦¦¦¦¦ than HTML.
  12. A.
    loader rule
    B.
    parsing rules
    C.
    generator rule
    D.
    logical rule

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. There is a way of describing XML data, how?
  14. A.
    XML uses a DTD to describe the data
    B.
    XML uses XSL to describe data
    C.
    XML uses a description node to describe data
    D.
    Both A and C

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Elements from the HTML namespace are displayed as they would in ¦¦¦¦¦¦¦..
  16. A.
    DHTML
    B.
    XML
    C.
    HTML
    D.
    DXML

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. What are the advantages of DOM Parsing?
  18. A.
    The DOM is a common interface for manipulating document structures
    B.
    One of its design goals is that Java code written for one DOM-compliant parser should run on any other DOM-compliant parser without changes
    C.
    Both of the above
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. The XSl formatting object which formats the data and caption of a table is
  20. A.
    table
    B.
    table-content
    C.
    table-text
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum