1. what is XML?
XML stands for Extensible Markup Language
It is a meta-markup language (you make up your own tags)
XML is not a programming language, it is a data format
XML documents can be parsed.
2. What is the difference between XML & HTML?
XML describes data, HTML displays data.
HTML has predefined tags, in XML we define tags
HTML can be displayed on its own, XML cannot.
The combination of XML and HTML is XHTML.
3. What is a "well-formed" document?
The well formed document must obey the basic XML constraints like :
All Documents must have a prolog.
Document must have a root tag.
All begin-tags must have end-tags. (case sensitive)
All attribute values must be quoted.
Elements must be properly nested.
All entities must be declared.
If a document is not a well-formed document it is not a XML document.
4. What is DTD?
Document Type Definition defines the structure of an XML document. A
DTD can be declared inline in your XML document, or as an external
reference.
DTD defines :
What element (tag) names are allowed
What attributes are used with each element
Which child elements belong to which parent elements
What order child elements can appear in
Also declares entities and notations
5. What are the building blocks of XML?
Elements
Attributes
Entities
Notations
6. What is a valid document
If a document's structure and tag names match the information model,
it is `valid'. Validation is optional. A valid document is always
well-formed.
7. What is XSLT?
XSLT is a language for transforming the structure of XML documents.
The XSL Transformations (XSLT) vocabulary provides a rule-based
framework for selecting and processing document content, and
transforming it into new documents
8. What is XML Parser?
A set of software components designed for reading, processing and
creating XML documents.
Parsers expose the structures and tags within a XML document thus
making it easy to process XML documents.
9. What are the types of Parsers
DOM Vs SAX
SAX is event-based and DOM is object-based
SAX is developed by XML-Dev mailing list and DOM is a W3C
recommendation
DOM constructs a tree in memory and SAX does not
SAX is read-only and DOM is read-write.
SAX uses less memory and is fast & efficient
We also have Validating and non-validating parsers.
10. What is XML family ?
Display : XHTML, XSLT, XSL
Modeling : DTD, XML Schema
Manipulating : DOM, SAX
Querying : Xlink, XQL, Xpath
Search Your Question
Thursday, April 17, 2008
XML Interview Questions
Labels:
Web Development
Subscribe to:
Post Comments (Atom)
Archives
-
▼
2008
(992)
-
▼
April
(208)
- Can you name different software development life c...
- What is Microsoft Analysis Service?
- Explain what is “AutoPostBack” feature in ASP.NET ?
- Can you explain what is DCOM ?
- What do you understand by Data mining and Data War...
- How can we find out what the garbage collector is ...
- How can we stop our code being reverse-engineered ...
- How do you stop a running thread?
- How does an AppDomain get created?
- How is method overriding different from method ove...
- Is COM+ dead? Is COM+ is not needed anymore?
- Is DCOM dead? not needed anymore?
- Should you use ReaderWriterLock instead of Monitor...
- What are different types of caching in ASP.Net?
- What are the validation controls?
- What are user controls and custom controls?
- What does aspnet_regiis -i do ?
- What is Regression Testing?
- What is the difference between an event and a dele...
- What is view state and use of it?
- What's a bubbled event?
- Why do we get errors when we try to serialize a Ha...
- Why is XmlSerializer so slow?
- How can I load the icons provided by .NET dynamica...
- In windows forms what class does Icon derive from?
- How's anchoring different from docking in windows ...
- Why is it not a good idea to insert code into Init...
- Why is it not a good idea to insert code into Init...
- What is ErrorProvider control? When would you use it?
- Can you debug a Windows Service? How ?
- How can a win service developed in .NET be install...
- What is a Windows Service and how does its lifecyc...
- What does AspCompat="true" mean and when should it...
- Is it possible to prevent a browser from caching a...
- Is it possible to prevent a browser from caching a...
- What technology enables out-of-proc communication ...
- What are some of the responsibilities of the CLR?
- What are some features of the CLR?
- What are some features of the CLR?
- What are namespaces used for in .NET?
- How do class property members work in C#?
- What does a binding define in a WSDL document? Wha...
- What are the main similarities and differences bet...
- What information do you need to know in order to a...
- True false questions - Set 1
- True false questions - Set 2
- True false questions - Set 3
- What are CAO's i.e. Client Activated Objects ?
- Can you configure a .NET Remoting object via XML f...
- What does a Port define? What does the PortType de...
- What makes web services usable in almost any devel...
- When should a struct be used instead of a class?
- How does the switch statement in C# differ from th...
- What are some similarities and differences between...
- What is the main Difference between Managed code a...
- In Dot Net What are different type of JIT ?
- Is versioning applicable to private assemblies?
- What is .Net Remoting
- What was .net Framework 3.0 earlier known as?
- What are the changes to the version of the .NET Fr...
- Can DotNet Framework 3 be installed over Framework 2?
- What is the version of C# In .net Framework 3.0?
- What Operating system are supported by Framework 3.0?
- What are the 4 basic new technologies included in ...
- What is a workflow? How does Windows workflow foun...
- What are the components found in Windows workflow ...
- What tool is available for creating workflows in d...
- What Improvements does WCF offers over its earlier...
- What contemporary computing problems WCS solves?
- What are WCF features and what communication probl...
- What is High assurance certificate?
- What contemporary computing problems WPF solves?
- What is XAML ?
- What is XBAP?
- What is a service contract ( In WCF) ?
- In terms of WCF, What is a message?
- In terms of WCF, What is a service?
- In terms of WCF, What is an endpoint?
- In terms of WCF, What is an application endpoint?
- In terms of WCF, What is an infrastructure endpoint?
- In terms of WCF, What is an address?
- In terms of WCF, What is binding?
- What is a message contract?
- IN WCF, what do you understand by metadata of a se...
- What are activities in Windows Workflow Foundation?
- What do you mean by Code Refactoring?
- What is ASP.Net Web Matrix?
- What do you mean by shipping in terms of sql server ?
- What is 'Write-ahead log' in Sql Server 2000 ?
- What is DOM?
- What is XPATH?
- What is the difference between abstract class and ...
- What is a Satellite Assembly ?
- What is late binding ?
- What do you understand by the term "immutable"?
- enforce a call from an inherited constructor to an...
- How do you make sure that your code runs when the ...
- Why does code get a security exception when its ru...
- Can you use the Win32 API from a .NET Framework pr...
- How do in-process and cross-process communication ...
-
▼
April
(208)
No comments:
Post a Comment