Velocity Reviews

Velocity Reviews (
-   XML (
-   -   XSD keyRef (

Kent B 11-15-2005 01:28 PM

XSD keyRef
Hello people,

Sorry if this is the wrong newsgroup. I had a look and couldn't find a
more appropriate one for XSD.

I have a complex type defined in its own schema as follows:

<xsd:complexType name="myType">
<xsd:extension base="myBaseType">
<xsd:attribute name="parentId" type="xsd:string" use="optional"/>

I want to apply a keyRef so that the parentId attribute must refer to a

valid ID (defined elsewhere in another schema). However, as far as I
tell, XSD only allows you to specify a keyRef inside an element
But I don't want to declare an element. Does anyone know how I can
declare a
keyRef without requiring the element?


All times are GMT. The time now is 02:56 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.