Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About kjkrum

  • Rank
  1. Consider this XML: <root> <element> <foo>CAKE</foo> <bar>42</bar> </element> <element> <foo>CAKE</foo> <bar>69</bar> </element></root> I want the above XML to be invalid. Is it possible for a schema to require that elements can have duplicate values of "foo" only if they also have duplicate values of "bar"?Or would I have to refactor my data, e.g., specify a set of "foobar" elements and require that my elements above reference them? (I don't know exactly how to do that, either...)
  • Create New...