[Home] [By Thread] [By Date] [Recent Entries]

  • From: dave <ceek63@y...>
  • To: xml-dev@l...
  • Date: Wed, 14 Nov 2007 08:51:22 -0800 (PST)


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member