News
IBM to offer mobile security as a service IBM will start delivering mobile security-as-a-service (MaaS) through its own cloud infrastructure in India, a move that is expected to better address in-country data requirements... IBM Spectrum Computing: IBM has enlarged its portfolio of software-defined infrastructure solutions with cognitive features for workload management.  * LiFi internet technology has been introduced, the new type of wireless internet connection that gives 100 times faster than traditional WiFi -- Invented by Professor Harald Haas from the University of Edinburgh. * Sci. Rachid Yazami has developed a smart chip that charges smartphones in less than 10 minutes. BenQ has launched BlueCore projector - Consumer electronics major BenQ has launched its first BlueCore laser light source projector. For those unaware, devices with BlueCore laser technology have a high contrast output of 80000:1 with an extended lamp life and efficiency. *** 
Category - XML, XSL, XSLT, SOAP, WSDL Interview Questions
 
1. What is XML?
Ans:
  • 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.

2. What is the difference between XML and HTML?
Ans:
XML is no way clashes with HTML, since they are for two different purposes. 
  • HTML is for displaying purpose. whereas  XML is for data representation.
  • HTML is used to mark up text so it can be displayed to users. XML is used to mark up data so it can be processed by computers.
  • HTML describes both structure (e.g. <p>, <h2>, <em>) and appearance (e.g. <br>, <font>, <i>) XML describes only content, or “meaning”
  • HTML uses a fixed, unchangeable set of tags In XML, you make up your own tags

3. What are the benefits of XML?
Ans:
There are many benefits of using XML on the Web :
  • Simplicity
  • Openness
  • Extensibility
  • Self-description
  • Contains machine-readable context information
  • Separates content  from presentation
  • Supports multilingual documents and Unicode
  • Facilitates the comparison and aggregation of data
  • Can embed multiple data types
  • Can embed existing data 
  • Provides a 'one-server view' for distributed data

4. What is a well-formed XML document?
Ans:
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.

5. What is a valid XML document?
Ans:
If a document is structurally correct then it can be called as valid XML documents. A valid document conforms to the predefined rules of a specific type of document:
  • These rules can be written by the author of the XML document or by someone else.
  • The rules determine the type of data that each part of a document can contain.
  • Note:Valid XML document is implicitly well-formed, but well-formed may not be valid

6. What is DTD?
Ans:
A Document Type Definition (DTD) defines the legal building blocks of an XML document. It defines rules for a specific type of document, including:
  • Names of elements, and how and where they can be used
  • The order of elements
  • Proper nesting and containment of elements
  • Element attributes
To apply a DTD to an XML document, you can:
  • Include the DTD's element definitions within the XML document itself.
  • Provide the DTD as a separate file, whose name you reference in the XML document.

7. What is a Complex Element?
Ans:
A complex element is an XML element that contains other elements and/or attributes.
There are four kinds of complex elements:
  • empty elements
  • elements that contain only other elements
  • elements that contain only text
  • elements that contain both other elements and text

8. 13.What is a Simple Element?
Ans:
  • A simple element is an XML element that can contain only text.
  • A simple element cannot have attributes
  • A simple element cannot contain other elements
  • A simple element cannot be empty
  • However, the text can be of many different types, and may have various restrictions applied to it

9. What are the features of XML?
Ans:
Main features of XML are:
  • Very easy to learn and implement
  • XML files are text files, and no editor is required
  • Minimal and a limited number of syntax rules in XML
  • It is extensible, and it specifies that structural rules of tags

10. What are the advantages of XML DOM Document?
Ans:
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

Search
Recent Posts
Create Amazon ElasticCache Using Memcached in CSharp
Nov 21 2017 12:09PM Posted By Amose
Get Google Map Lat Lng (Geo Point) By Pincode in C#
Nov 8 2017 10:26AM Posted By Pranav
Google URL Shortener in C#
Oct 26 2017 10:43AM Posted By Sanjay
Bind Gridview from CSV file in Asp.Net C#
Jun 18 2017 11:38PM Posted By Michael
Call WebService method from jQuery in every 1 minute
Feb 27 2017 11:51AM Posted By John
Gridview custom CSS in ASP.Net
Feb 25 2017 10:59AM Posted By Micheal Ryan
Read excel file and bind to Gridview in C#
Feb 25 2017 10:20AM Posted By Micheal
Tags
Follow us on Facebook
Follow us on Google +
Recent post in your Email inbox.
Enter your email address: