xpath constraint association

0
Hello, I want to view a list of objects, but only if this object has an association with another object. How can I model this as aan Xpath constraint?
asked
1 answers
4

You can treat the referenced object like a boolean in Xpath. For example, let's say you only want to select User entities that have at least one UserRole associated. You would select System.User as your entity, and the XPath constraint would look like this:

[System.UserRoles/System.UserRole]
answered