- From: <w3t-archive+esw-wiki@w3.org>
- Date: Wed, 30 Nov 2005 10:16:50 -0000
- To: w3t-archive+esw-wiki@w3.org
Dear Wiki user, You have subscribed to a wiki page or wiki category on "ESW Wiki" for change notification. The following page has been changed by GoutamSaha: http://esw.w3.org/topic/its0908LinguisticMarkup ------------------------------------------------------------------------------ <other_punctuation> }}} ================ + + A schema for the content domain using element "content_domain" and three attributes namely, "name", "type" and "meaning" is shown below. + + {{{ + + <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.kolkatacdac.in/w3ci18ncd" elementFormDefault="qualified"> + <xs:element name="content_domain"> + <xs:complexType mixed="true"> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="type" type="xs:string"/> + <xs:attribute name="meaning" type="xs:string"/> + </xs:complexType> + </xs:element> + </xs:schema> + + <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cont="http://www.kolkatacdac.in/w3ci18ncd" elementFormDefault="qualified"> + <xs:import namespace="http://www.kolkatacdac.in/w3ci18ncd" schemaLocation="C:\Documents and Settings\Administrator\My Documents\w3c-its-wg\cd1.xsd"/> + <xs:element name="cd"> + <xs:complexType> + <xs:sequence> + <xs:element ref="cont:content_domain" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + + }}} A typical schema of the content_domain is shown below.
Received on Wednesday, 30 November 2005 11:17:11 UTC