Changes between Version 4 and Version 5 of XLinkedFragments


Ignore:
Timestamp:
Oct 10, 2008, 7:34:38 AM (16 years ago)
Author:
Fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XLinkedFragments

    v4 v5  
    44Store fragments of metadata as reference using XLink. Remote fragments are not editable in the metadata editor. The source document has to be modified.
    55
    6 Metadata stored in DB:
     6=== Main principle ===
     7Metadata stored in DB
    78{{{
    89<gmd:contact>
     
    2425}}}
    2526
     27== Configuration ==
     28In 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
     36For 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
     54Then if a field is set with mode = xlink, GUI is :
     55TODO
     56is mode = xlinkOnly, GUI is:
     57TODO
    2658
    2759== Metadata storage and XLink resolution ==