Changes between Version 5 and Version 6 of HidingMetadata


Ignore:
Timestamp:
Oct 4, 2012, 11:16:26 PM (12 years ago)
Author:
jeichar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HidingMetadata

    v5 v6  
    4040 * check the settings parameter hidewithheldelements/keepMarkedElement
    4141  * If the value is true, then the element with the nilReason attribute will be kept.  This allows the UI to display the element with a note indicating that it has been hidden
    42   * If the value is false, then the element with the nilReason attribute will be kept.  This allows the UI to display the element with a note indicating that it has been hidden
     42  * If the value is false, then the element with the nilReason attribute will deleted along with all of its children.
    4343 * When the marked element is kept the following happens:
    4444  * search the document for the attribute: gco:nilReason='withheld'.  if the following two checks are true then all attributes (excepting gco:nilReason) will be removed, as will all child elements.  The element itself will remain as a marker
    4545
    4646Note:  at the moment only gco:nilReason='withheld' attribute marks an element as hidden.  In the future more tags can be added for other schema's.  There are two places that must be updated for new takes to work with this system:
    47  * the xpath in update XmlSerializer.internalSelect.
     47 * the xpath in update !XmlSerializer.internalSelect.
    4848 * Update xsl/utils.xsl by changing the hasHiddenChildren template. 
    4949 * If the new tag is in iso19139 then the xsl:template mode="localised" match="*[@gco:nilReason='withheld'... template must be updated as well.