forked from geonetwork/core-geonetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor / Configuration / Improve deletion in forEach section (geonetw…
…ork#8244) Improve documentation and properly target node to delete in case the forEach loop element is not the one to remove. eg. ```xml <section name="Axe - Time" forEach="/mdb:MD_Metadata/mdb:spatialRepresentationInfo/*/msr:axisDimensionProperties/*[msr:dimensionName/*/@codeListValue = 'time']" del="ancestor::msr:axisDimensionProperties"> <field xpath="msr:dimensionSize"/> <field xpath="msr:resolution"/> </section> ``` Before the change, the remove button was not displayed. Most of the time the loop element is the one to delete and this case was fine.
- Loading branch information
1 parent
4618834
commit 9b19b58
Showing
2 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters