- From: <w3t-archive+esw-wiki@w3.org>
- Date: Wed, 07 Dec 2005 05:02:55 -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 ------------------------------------------------------------------------------ }}} - A typical schema of the content_domain is shown below. + A typical schema of the content_domain using elements is shown below. {{{ @@ -1635, +1635 @@ ================== + A schema for the sentence category level using element "sentence_cat" and three attributes namely, "name", "type" and "meaning" is shown below. + + <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <!-- Sentence Category Schema using attributes --> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:scat="http://www.kolkatacdac.in/w3ci18nsc" elementFormDefault="qualified"> + <xs:import namespace="http://www.kolkatacdac.in/w3ci18nsc" schemaLocation="C:\Documents and Settings\Administrator\My Documents\w3c-its-wg\sencat1.xsd"/> + <xs:element name="sc"> + <xs:complexType> + <xs:sequence> + <xs:element ref="scat:sentence_cat" maxOccurs="unbounded"/> + </xs:sequence> + </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" targetNamespace="http://www.kolkatacdac.in/w3ci18nsc" elementFormDefault="qualified"> + <xs:element name="sentence_cat"> + <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> + - A typical schema for Sentence_categories is shown below. + A typical schema for Sentence_categories using elements 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/w3ci18ns" elementFormDefault="qualified">
Received on Wednesday, 7 December 2005 06:40:09 UTC