![]() |
NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
![]() ![]() ![]() | THE XML REVOLUTION - TECHNOLOGIES FOR THE FUTURE WEB |
![]() ![]() ![]() |
Example:
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:b="http://businesscard.org" targetNamespace="http://businesscard.org"> <import namespace="http://www.w3.org/1999/xhtml" schemaLocation="xhtml.xsd"/> <redefine schemaLocation="phone.xsd"> <element name="phone"> ... </element> </redefine> ... </schema> |
Here, a schema for XHTML is imported together with phone.xsd (which is assumed to contain a description of phone numbers) and its description of phone is redefined.
![]() | COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |
![]() |