Thursday, October 25, 2007

XML Interview Question


1. What Is XML?

XML stands for Extensible Markup Language. It is a text-based meta-markup language defined by the World Wide Web Consortium. It has become the standard for data interchange on the Web.

2. Why do we need to learn XML?

Because XML is a meta-markup language, it lets you create your own markup language.

It is easy for data exchange, customization, self-describing, structured and integrated.

3. What does XML look like?







Hello guys!





4. What is the difference between HTML and XML?

HTML and XML both are based on Standard Generalized Markup Language(SGML), but

o HTML uses predefined tags, whereas XML uses user-defined tags which can be used to identify data relationships like hierarchical structure(elements, subelements, subsubelements,and so on.)

o HTML specifies its representation, whereas XML identifies the content for the data.

o Unlike HTML, XML tags are well-formed. XML data is searchable, format-free and reusable.

5. What is XML attribute?

Attribute is an additional information attached to a tag. For example


subject="Discuss XML issues">



here we go





The "to", "from" and "subject" are attributes of "message" tag.

6. How to deal with double quotes in attribute assignment?

Use a single quote to enclose a double quotes, for example,

0 comments:

Advertisement

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com