XML Interview Questions and Answers
Here you can find XML Interview Questions and Answers.
Why XML Interview Questions and Answers Required?
In this XML Interview Questions and Answers section you can learn and practice XML Interview Questions and Answers to improve your skills in order to face technical
inerview by IT companies. By Practicing these interview questions, you can easily crack any XML interview.
Where can I get XML Interview Questions and Answers?
AllIndiaExams provides you lots XML Interview Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students,
freshers can download XML Interview Questions and Answers as PDF files and eBooks.
How to solve these XML Interview Questions and Answers?
You no need to worry, we have given lots of XML Interview Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the XML
technical interview.
XML Interview Questions and Answers
What is XML?
Extensible Markup Language (XML) is the universal language for data on the Web
XML is a technology which allows us to create our own markup language.
XML documents are universally accepted as a standard way of representing information in platform and language independent manner.
XML is universal standard for information interchange.
XML documents can be created in any language and can be used in any language.
XML Interview Questions and Answers
What are the benefits of XML?
There are many benefits of using XML on the Web :
Simplicity: Information coded in XML is easy to read and understand, plus it can be processed easily by computers.
Openness: XML is a W3C standard, endorsed by software industry market leaders.
Extensibility: There is no fixed set of tags. New tags can be created as they are needed.
Self-description: In traditional databases, data records require schemas set up by the database administrator. XML documents can be stored without such definitions, because
they contain meta data in the form of tags and attributes.
Contains machine-readable context information: Tags, attributes and element structure provide context information that can be used to interpret the meaning of content, opening up
new possibilities for highly efficient search engines, intelligent data mining, agents, etc.
Separates content from presentation: XML tags describe meaning not presentation. The motto of HTML is: "I know how it looks", whereas the motto of XML is: "I know what it
means, and you tell me how it should look." The look and feel of an XML document can be controlled by XSL style sheets, allowing the look of a document to be changed
without touching the content of the document. Multiple views or presentations of the same content are easily rendered.
Supports multilingual documents and Unicode: This is important for the internationalization of applications.
Facilitates the comparison and aggregation of data: The tree structure of XML documents allows documents to be compared and aggregated efficiently element by element.
Can embed multiple data types: XML documents can contain any possible data type - from multimedia data (image, sound, video) to active components (Java applets, ActiveX).
Can embed existing data: Mapping existing data structures like file systems or relational databases to XML is simple. XML supports multiple data formats and can cover all
existing data structures and .
Provides a 'one-server view' for distributed data: XML documents can consist of nested elements that are distributed over multiple remote servers. XML is currently the most
sophisticated format for distributed data - the World Wide Web can be seen as one huge XML database.
XML Interview Questions and Answers
Which tag is used to find the version of XML and the syntax?
Declaring the XML version is very important for each XML document and platform needs to be specified in which it is running.
< !--?xml version=â€1.1†encoding=â€|ISO-8859-1|â€?-- >
XML Interview Questions and Answers
What is a well-formed XML document?
If a document is syntactically correct it can be called as well-formed XML documents. A well-formed document conforms to XML's basic rules of syntax:
Every open tag must be closed.
The open tag must exactly match the closing tag: XML is case-sensitive.
All elements must be embedded within a single root element.
Child tags must be closed before parent tags.
A well-formed document has correct XML tag syntax, but the elements might be invalid for the specified document type.
XML Interview Questions and Answers
What is XPath?
XPath is used to find information in an XML document and contains standard functions. XPath is the major element in XSLT, and it is w3c recommendation.
XML Interview Questions and Answers
What is XML DOM Document?
XML Document object represents the whole XML document, and it is the root of a document tree. It gives access to entire XML document – Nodes and Elements, and it has
its own properties.
XML Interview Questions and Answers
What is XPath?
XPath is used to find information in an XML document and contains standard functions. XPath is the major element in XSLT, and it is w3c recommendation.
XML Interview Questions and Answers
What is an attribute?
An attribute provides more or additional information about an element than otherwise.
XML Interview Questions and Answers
Can we have empty XML tags?
Yes, we can have empty tags in XML. Empty tags are used to indicate elements that have no textual content.
XML Interview Questions and Answers
What are the advantages of XML DOM Document?
Advantages of XML DOM:
• XML structure is traversable, and it can be randomly accessed by traversing the tree.
• XML structure is modifiable, and values can be added, changed and removed