The Cover PagesThe OASIS Cover Pages: The Online Resource for Markup Language Technologies
SEARCH | ABOUT | INDEX | NEWS | CORE STANDARDS | TECHNOLOGY REPORTS | EVENTS | LIBRARY
SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic
Created: September 05, 2002.
News: Cover StoriesPrevious News ItemNext News Item

W3C Publishes Note on XHTML 1.0 in XML Schema.

The W3C HTML Working Group has released a Note defining XHTML 1.0 in XML Schema. "This work in progress provides informative XML schemas corresponding to the XHTML 1.0 Strict, Transitional, and Frameset DTDs. For the most part, these XML Schemas are written to imitate the structure of the XHTML 1.0 DTDs; major differences are those affecting the validation of XHTML 1.0 documents." Using XML Schema for XHTML 1.0 provides three principal benefits via-à-vis DTDs: (1) Strong datatyping and thus better validation; (2) Better expressive power for describing content models [e.g., fieldset]; (3) Better namespace support. "DTD validation and XML Schema validation are not mutually exclusive. Sometimes authors might want to use some DTD features (e.g., entities) while taking advantage of the XML Schema validation."

Bibliographic information: XHTML 1.0 in XML Schema. W3C Note 2-September-2002. Edited by Ishikawa Masayasu (W3C). Version URL: http://www.w3.org/TR/2002/NOTE-xhtml1-schema-20020902. Latest version URL: http://www.w3.org/TR/xhtml1-schema. Also in XHTML format.

How to specify an XML Schema: "Unlike DTD, which requires the use of the DOCTYPE declaration, XML Schemas are not required to be specified in the instance itself. However, when necessary, authors may specify an intended XML Schema through the schemaLocation attribute in the XML Schema instance namespace, typically added to the root element..."

Using DTD and XML Schema together: "Authors may include the xsi:schemaLocation attribute; however, those attributes are not defined in the XHTML 1.0 DTDs, so if authors wish to use DTD and XML Schema together, those attributes must be declared in the internal DTD subset..."


Hosted By
OASIS - Organization for the Advancement of Structured Information Standards

Sponsored By

IBM Corporation
ISIS Papyrus
Microsoft Corporation
Oracle Corporation

Primeton

XML Daily Newslink
Receive daily news updates from Managing Editor, Robin Cover.

 Newsletter Subscription
 Newsletter Archives
Bottom Globe Image

Document URI: http://xml.coverpages.org/ni2002-09-05-a.html  —  Legal stuff
Robin Cover, Editor: robin@oasis-open.org