[GeoNetwork-devel] post processing xsl on save

Hi All,

When we edit a record and Save, is there a way to remove blank elements (which don’t have values entered) from xml? Is there any XSL for processing on-Save or any mechanism where I can add new xsl to the on-save processing.

Or do I have to do this in the called service only?

(GN 2.10.x)

Thanks

Ameet

The update-fixed-info.xsl transform in the schema-plugins folder is ran on a metadata on save. You can update that to make the changes you want.

···

On Thu, Mar 27, 2014 at 7:50 AM, Ameet Chaudhari <ameet.chaudhari@anonymised.com…31…> wrote:

Hi All,

When we edit a record and Save, is there a way to remove blank elements (which don’t have values entered) from xml? Is there any XSL for processing on-Save or any mechanism where I can add new xsl to the on-save processing.

Or do I have to do this in the called service only?

(GN 2.10.x)

Thanks

Ameet



GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Okay great. Thanks a lot.

Ameet

···

On Thu, Mar 27, 2014 at 1:26 PM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

The update-fixed-info.xsl transform in the schema-plugins folder is ran on a metadata on save. You can update that to make the changes you want.


Systems Programmer
kCube Consultancy Services

On Thu, Mar 27, 2014 at 7:50 AM, Ameet Chaudhari <ameet.chaudhari@anonymised.com…31…> wrote:

Hi All,

When we edit a record and Save, is there a way to remove blank elements (which don’t have values entered) from xml? Is there any XSL for processing on-Save or any mechanism where I can add new xsl to the on-save processing.

Or do I have to do this in the called service only?

(GN 2.10.x)

Thanks

Ameet



GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork