Skip to content

Several criteria in Applicability. AND or OR? #360

Answered by atomczak
Xema-Pastor asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Xema-Pastor, applicability facets are joint with AND. To achieve OR in your case, use enumeration:

        <ids:attribute>
          <ids:name>
            <xs:restriction base="xs:string">
              <xs:enumeration value="ObjectType" />
              <xs:enumeration value="Representation" />
            </xs:restriction>
          </ids:name>
        </ids:attribute>
      </ids:applicability>

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Xema-Pastor
Comment options

Answer selected by atomczak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants