W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2000

Global attributes from other namespaces, how to use?

From: <ramesh@eNode.com>
Date: Thu, 28 Sep 2000 21:07:51 -0700
To: <xmlschema-dev@w3.org>
Message-ID: <B5F963A6.C17%ramesh@eNode.com>
I need to define a complex type called Title, in which I have to use the
global attributes xml:lang and xlink:type from their respective namespaces.
How do I do that?

Is this the proper way? What should I put for the XML namespace?

<xsd:complexType name="Title">
        <xsd:extension base="xsd:string">
            <!-- Add xml:lang="en-US" global attribute -->
                    namespace="What should I put here for XML1.0?"
                    use="default" value="en-US"/>
            <!-- Add xlink:type="title" global attribute -->
                    use="fixed" value="title"/>

Thanks for any help.
Received on Friday, 29 September 2000 00:07:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:49 UTC