W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

Re: "ref" attribute

From: Nick K. Aghazarian <Ace@AceProgrammer.com>
Date: Mon, 13 Nov 2000 11:52:27 -0800
Message-ID: <3A10467B.4040305@AceProgrammer.com>
To: www-xml-schema-comments@w3.org
>> - Can it be used for referencing elements from other schemas as well?
>> <element ref="OtherSchemaPrefix:MyElement"/>

>Yes.

When used in an instance, would you have to specify the namespace?

<SuperElement>
  <OtherSchemaPrefix:MyElement>Data</OtherSchemaPrefix:MyElement>
</SuperElement>

Or because the schema specifies the namespace, can you use:

<SuperElement>
  <MyElement>Data</MyElement>
</SuperElement>

Thanks,

Nick
Received on Monday, 13 November 2000 14:54:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT