W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > January 2006

Addendum to XLink 1.1 appendix C

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Wed, 18 Jan 2006 16:22:11 -0500
To: public-xml-core-wg@w3.org
CC: Henry Thompson <ht@cogsci.ed.ac.uk>
Message-ID: <87oe29fczg.fsf@nwalsh.com>
Henry,

The I18N folks would like this addition to XLink 1.1 Appendix C.
Does it look OK to you? (To everyone else?)

<div2 id="sample-ruby">
<head>Sample XML Schema with Ruby</head>

<p>The following <bibref ref="xmlschema-1"/> demonstrates how the
XLink 1.1 schema could be extended to support <bibref ref="ruby"/>
in XLink title elements in an extended link.</p>

<p>It is provided only as a convenience for application developers; it
has no normative status.</p>

<eg><![CDATA[<xs:schema xmlns:xlink="http://www.w3.org/1999/xlink"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:my="http://example.com/myns"
           targetNamespace="http://example.com/myns"
           elementFormDefault="qualified"
	   attributeFormDefault="unqualified">

<xs:import namespace="http://www.w3.org/1999/xlink"/>

<xs:element name="myExtendedLink">
 <xs:complexType>
  <xs:complexContent>
   <xs:extension base="xlink:extended">
    <xs:sequence>
     <xs:element name="myTitle">
      <xs:complexType mixed="true">
       <xs:complexContent>
        <xs:restriction base="xlink:titleEltType">
         <xs:sequence>
          <xs:element name="ruby" minOccurs="0" maxOccurs="unbounded">
            <!-- Define the content of your ruby element here -->
          </xs:element>		
         </xs:sequence>
        </xs:restriction>
       </xs:complexContent>
      </xs:complexType>
     </xs:element>
    </xs:sequence>		
   </xs:extension>
  </xs:complexContent>
 </xs:complexType>
</xs:element>
</xs:schema>]]></eg>

</div2>


                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Received on Thursday, 19 January 2006 05:59:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:33 GMT