Computer Science > EXAM > XML Exam Q&A 2022/2023 with complete solution (All)
What is XML? - ANSWER XML (extensible Markup Language) is a markup language that defines set of rules for encoding documents. XML was designed to store and transport data. What does XML provide? - ... ANSWER Metadata for dataset 1. Configuration files such as POM.xml, web.xml etc. 2. Common language for data interchange (marshaling, unmarshaling) 3. Very simple data store What is the XML syntax? - ANSWER XML has tree-based structure <root> <child attr="att"> ... </child> </root> What is DTD and what is its purpose? - ANSWER DTD is a Document Type Definition and its purpose is to validate the format of the XML tree structure. What is XSD and what is its purpose? - ANSWER XSD is XML Schema Definition and its purpose is to validate the datatypes for the elements. http://stackoverflow.com/questions/2333998/what-is-the-difference-between-xml-and-xsd What are the 2 XML parsers? - ANSWER DOM and SAX What does DOM stand for? - ANSWER Document Object Model. It is a standard object tree-based model for HTML. What does SAX stand for? - ANSWER Simple API for XML. It is an event-based parser for parsing XML. How do you parse XML using DOM parsing? - ANSWER InputStream>Document>Element (Root Element)/NodeList ---------------------- Create a stream of bytes with the xml file, place the stream into a document object. Then we can begin to traverse the DOM [Show More]
Last updated: 3 years ago
Preview 1 out of 2 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Aug 17, 2022
Number of pages
2
Written in
This document has been written for:
Uploaded
Aug 17, 2022
Downloads
0
Views
82
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·