Hello DFDL community,

Can an array count itself? Like this:

<xs:element name="name" type="xs:string" maxOccurs="unbounded">
    <xs:annotation>
        <xs:appinfo source="http://www.ogf.org/dfdl/";>
            <dfdl:discriminator test="{ fn:count(.) le 5 }" />
        </xs:appinfo>
    </xs:annotation>
</xs:element>

Reply via email to