| 27 | == Configuration == |
| 28 | In xml/schemas/iso19139/schema-suggestion.xml, catalogue administrator could define which element should propose a popup to select a remote resource and set the xlink for this elements. |
| 29 | |
| 30 | * To add a new xlink popup on an element add a new field <field name="nsPrefix:elementName" mode="xlink|xlinkOnly"/> |
| 31 | * Different modes are available: |
| 32 | * xlink: will allow classic editor AND xlink popup |
| 33 | * xlinkOnly: will only allow xlink popup |
| 34 | * If not set default editor is used. |
| 35 | |
| 36 | For example : |
| 37 | {{{ |
| 38 | <!-- xLink : as defined in XSD, all PropertyType having an |
| 39 | attribute group set to gco:ObjectReference could be linked |
| 40 | using xlink attributes. |
| 41 | |
| 42 | For each elements allows user to use default editor or |
| 43 | defined a remote resource using an xlink. |
| 44 | --> |
| 45 | <field name="gmd:contact" mode="xlink"/> |
| 46 | <field name="gmd:citedResponsibleParty" mode="xlink"/> |
| 47 | <field name="gmd:pointOfContact" mode="xlinkOnly"/> |
| 48 | <field name="gmd:distributionFormat" mode="xlink"/> |
| 49 | <field name="gmd:descriptiveKeywords" mode="xlink"/> |
| 50 | <field name="gmd:referenceSystemInfo" mode="xlink"/> |
| 51 | }}} |
| 52 | |
| 53 | |
| 54 | Then if a field is set with mode = xlink, GUI is : |
| 55 | TODO |
| 56 | is mode = xlinkOnly, GUI is: |
| 57 | TODO |