![]() |
Document Type Definition![]() ![]() ![]() ![]() ![]()
The Document Type Definition (DTD) acts as a set of rules based upon which new documents of the same type can be created. Suppose, for example a DTD was created for use in libraries. Documents created with this DTD may contain items such as the name of the book, author of the book, etc,. This document will provide a standardised document for all libraries.
DTD Structure A DTD consists of two parts, an external DTD sub set and an internal DTD sub set. An external DTD sub set is a DTD that exists outside the content of the document. An internal DTD subset is one which is included in the XML document itself. An XML document can contain both, but the internal sub set is the first one to be processed. Creating a Simple DTD
Before exploring the details of the DTD we shall create a simple DTD. The following codes represent a DTD for a library information system:
<?xml version="1.0"?> The above code is an example of an internal DTD subset. It identifies the elements that are allowed in the document and the type of data that they can contain.
|
|
Domain NamesXML HTML to XML Why XML? XML Example Program XML Structure XML Declaration Physical Structure in XML XML Syntax Well Formed and Valid Document Document Type Definition Logical Structures
Notation and Notation Declarations Entity References Importing an External DTD Cascading Style Sheets (XML) Rendering XML with CSS An Example Using CSS CSS Style Rules
XSL XSL Transformation XSL Formatting XSL Style Rules Schemas Limitations of DTD Validity of an XML Document
An Example using XML Schema Namespaces Xlinks and Xpointers Terminology Xlinks Extended Link Xpointers DOM and SAX What is DOM? The Basic Structure of an XML DOM-based Module What is SAX? When to use DOMWhen to use SAX Accessing the Database Using XML Delivering XML with Data Retrieving Data from SQL Database Using Web Assistant Wizard Displaying Records from the XML_EX Database Server Dynamic Web Publishing with Dynabase Enhydra Java/XML Application Server XML Server Technologies Purpose and Goal of the XML/EDI Guidelines Definitions for XML/EDI The Electronic Enterprise Server Scope of XML/EDI The Five Technologies of XML/EDI Integrating XML with EDI Ignore and Include Keywords XML/EDI Components The Implementation Process Identifying Data Sets Developing DTDs Application Specific Extensions XML and JAVA XML Application Architecture Channel Definition Format Creation of Channels Creating Channels Using CDF Document Description of the Channel Scheduling Logos Precaching Web Crawling Keeping Track of UsersWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |