Re: "ref" attribute

>> - 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 UTC