Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


defining keys in XSD 1.0..

From: dave <ceek63@-----.--->
To: xml-dev@-----.---.---
Date: 11/14/2007 7:49:00 PM
...
<parent a="bc" d="ef">
  <container>
    <name> xx </name>
    <misc> xx </misc>
  </container>
</parent>
...

In the above xml, the "key" is composed of attributes
'a','d' and element 'name'. How do I define a selector
and fields here to define the 'key' in this situation?
Because, the attributes and element are at different
levels/scopes. I am using w3c schema 1.0.

The catch here is I can't move the attributes 'a' and
'd' inside 'container' element and make them elements.

+D
    


      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent