| DJexor |
| Newbie |
|
| Netherlands |
|
|
| None Specified |
|
| Friday, July 17, 2009 |
| Monday, March 22, 2010 1:34:59 PM |
3 [0.02% of all post / 0.00 posts per day] |
|
Dear Colleagues,
I'm having a problem with the key constraint and keyref constraint feature in XMLSpy. I have an abstract element called "A" and three elements called "X", "Y" and "Z", all from substitutiongroup "A". When I want to make a element called "CollectionXandY" Im connecting the abstract element "A" behind it and add a key constraint with selector = "X" and field = * and a key constraint with selector = "Y" and field = *. To me this would make a path that only elements from "X" and "Y" can be put into the CollectionXandY, but when im generating a XML script it is possible to choose "Z" and it validates. Does anyone know what i have to do to make it only able to choose elements of "X" and "Y" in this collection? I hope someone can help me. Thanks in advance!
Regards, Jordie
|
|
Perfect that's exactly what I needed! Thanks Cor!
|
Dear readers,
I'm working on a class diagram and was wondering how I can make a XOR constraint between two associations. If it doesn't exist in Altova, can somebody tell me a solution for this?
I have a class Relation with some main details. In the view of the company i work for, a Relation can be a person or a company for example, so I made two classes for these. I made i association between class Person and class Relation and a association between class Company and class Relation. Now I would like to add the XOR constraint between these two associations and here I need your help! :-)
Thanks in advance! Regards,
Jordie
|
|