![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Declaring a global ID Attribute >Thread Next - Re: Declaring a global ID Attribute Re: Declaring a global ID AttributeTo: NULL Date: 10/8/2007 10:07:00 AM George Bina wrote: > Hi Bubba, > > It is difficult for me to understand very well your message but, in > any case, you might take a look at the XML Schema for XML Schemas as > there it is defined an optional id attribute that can appear on schema > components, so it may be a good example to follow: > > http://www.w3.org/TR/xmlschema-1/#normative-schemaSchema > > Best Regards, > George Hi George, Thanks for the reply, but this is over my head, I can't disclose the schema here as it's proprietry to the creator and confidential. All I can say at best is that there are many simpleType definitions followed by complexType definitions, however none of the complexType are 'wrapped' in <xs:element> tags as I've seen in O'reilly's XML Schema book. Below is a representation of the structure of the schema I have. <xs:schema ...> <xs:simpleType name="Blah"> ... </xs:simpleType> More simpleTypes <xs:complexType name="Foo"> <xs:sequence> <xs:element name="Bar" type="Blah" minOccurs="0" /> <xs:element ... /> ... </xs:sequence> </xs:complexType> More complexTypes... <xs:complexType name="Master"> <xs:sequence> <xs:element name="B" type="Foo" minOccurs="0"/> ... </xs:sequence> </xs:complexType> and finally <xs:element name="M" type="Master" /> </xs:schema> I'm really confused here as I know this 'global' id attribute is supported but for the life of me I can't work out how to fix this. I'd really appreciate any help I can get with this. -- Bubba | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
