Q&A

Q1:What are the major characteristics of XML?
A1: XML is a human readable, structured data-encoding format that is generic, simple, flexible, extensible and free to use.
Q2:What is the difference between well-formed and valid XML.
A2: Well-formed XML is syntactically and structurally correct. XML is only valid if it complies with the constraints of a DTD or XML schema.
Q3:What are the J2EE APIs and specifications that support the processing of XML?
A3: The J2EE APIs and specifications that supports XML processing are JAXP (Java API for XML Processing), SAX (Simple API for XML Parsing), DOM (Document Object Model), and XLST for transforming XML documents
Q4:What are the main differences between SAX and DOM?
A4: SAX provides a serial event-driven parser. DOM is more flexible in that it builds an in-memory representation of the document that can be manipulated randomly (that is, nodes can be addressed or processed in any order). SAX is generally more efficient (faster), while DOM can be a heavy user of memory.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.57.93