Hi
We are creating a slightly stricter version of ISO19139. The changes is almost exclusively to make some elements required.
When elements is required, they normally appear with the red box around the user input, except for the 3 attributes changed in the example below. (individualName, organisationName & positionName) I simply cant find a reason why ( & more importantly, where) they are treaded differently. They just keep on appearing as standard elements without the red required border when rendering them inside a template in mode ‘’
Thanks in advance!
Template:
<xsl:apply-templates mode=“elementEP” select=“gmd:individualName|geonet:child[string(@name)=‘individualName’]”>
<xsl:with-param name=“schema” select=“$schema”/>
<xsl:with-param name=“edit” select=“$edit”/>
</xsl:apply-templates>
XSD:
<xs:complexType name=“CI_ResponsibleParty_Type”>
xs:annotation
xs:documentationIdentification of, and means of communication with, person(s) and organisations associated with the dataset</xs:documentation>
</xs:annotation>
xs:complexContent
<xs:extension base=“gco:AbstractObject_Type”>
xs:sequence
<xs:element name=“individualName” type=“gco:CharacterString_PropertyType” minOccurs=“1” maxOccurs=“1”/>
<xs:element name=“organisationName” type=“gco:CharacterString_PropertyType” minOccurs=“1” maxOccurs=“1”/>
<xs:element name=“positionName” type=“gco:CharacterString_PropertyType” minOccurs=“1” maxOccurs=“1”/>
<xs:element name=“contactInfo” type=“gmd:CI_Contact_PropertyType” minOccurs=“0”/>
<xs:element name=“role” type=“gmd:CI_RoleCode_PropertyType” minOccurs=“1” maxOccurs=“1”/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>