Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Interview Q&A Tutorials .NET Java Soft skills CV GD Work from home IT practice test MBA practice test FAQs in PDF Books Jobs FAQs

XML DTD

<<Previous  Next>>

Define DTD (Document Type definition).
Explain DTD and schema.

XML DTD - August 12, 2008 at 18:00 PM by Amit Satpute

Define DTD (Document Type definition).

Answer
DTD - Document Type Definition defines the legal building blocks of an XML document.

It defines the document structure with a list of legal elements and attributes.

XML DTD is a rule book that an XML document follows. Once DTD is ready, you can create number of XML documents following the same rules specified in the DTD. DTD can be internal or external DTD. The internal DTD is included in the XML document, while external DTD exists outside the content of the documents.

Explain DTD and schema.

Answer
A DTD provides a list of the elements, attributes, comments, notes, and entities contained in an XML or HTML document and indicates their relationship with each other.

The 'DOCTYPE' tells the browser that it is a Document Type Declaration

Some commonly used attribute types are

  • CDATA The value is character data
  • ID The value is a unique id
  • IDREF The value is the id of another element
  • IDREFS The value is a list of other ids

Schema means the organization and the structure of a database.

E.g.: An XML schema is a description of XML document. It is expressed in terms of constraints on the structure and content of documents. 

XML XML DTD - Jan 14, 2009 at 14:00 PM by Nishant Kumar

Define XML DTD.

XML DTD is a rule book that an XML document follows. Once DTD is ready, you can create number of XML documents following the same rules specified in the DTD. DTD can be internal or external DTD. The internal DTD is included in the XML document, while external DTD exists outside the content of the documents.

<<Previous  Next>>

More XML Links

What is a CDATA section in XML?

Answer - The term CDATA is used when you dont want some text data to be parsed by the XML parser. ..............

XML Data type implementation in SQL Server 2005

What is Untyped XML?
Provide examples for : Create a table with a untype XML column, Insert into an untyped XML data type column
What is typed XML?
The XML data type comes with five methods. Explain them
Differentiate between Untyped XML and Typed XML.
Explain with an example how to apply defaults constraint to an XML data type column.
You can add constraints to XML data type columns. Illustrate with an example. 

What is XSL?

Answer - XSL is a language for expressing style sheets. An XSL style sheet is a file that describes the way to display an XML document...............

What is XQuery?

Answer - Xquery is a query language that is used to retrieve data from XML documents...............

 
Want to be hunted by potential employers? Just submit your key skills!

Popular FAQs

.NET .Net Architecture ADO.NET Java Oracle C#.NET
VB.NET DOT.NET AJAX ASP.NET NET Framework OOPS in .NET
C++ Sql Server Data warehousing EJB MySQL Linux
PHP UML Networking Testing XML  
 
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.