<xsd:attributeGroup name="language">
<xsd:attribute name="lang" use="optional" />
<xsd:attribute ref="foo:lang" use="optional"/>
<xsd:attribute name="script" use="optional"/>
</xsd:attributeGroup>Or does anyone have any examples of binding files in general? My full schema example is below.
Amanda
-- Amanda Clare http://users.aber.ac.uk/afc/ Tel: +44 (0)1970 622410 Fax: +44 (0)1970 622455 Dept. of Computer Science, University of Wales, Aberystwyth, SY23 3DB
------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema targetNamespace="http://abc.xyz.com/" xmlns="http://abc.xyz.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:foo="http://www.w3.org/XML/1998/namespace" elementFormDefault="qualified" attributeFormDefault="qualified">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
<xsd:element name="mods" type="modsType"/>
<xsd:complexType name="modsType">
<xsd:attribute name="ID" type="xsd:ID" use="optional"/>
<xsd:attributeGroup ref="language"/>
</xsd:complexType>
<xsd:attributeGroup name="language"> <xsd:attribute name="lang" use="optional" /> <xsd:attribute ref="foo:lang" use="optional"/> <xsd:attribute name="script" use="optional"/> <xsd:attribute name="transliteration" use="optional"/> </xsd:attributeGroup> </xsd:schema>
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
