[GeoNetwork-users] Schematron validation of codelists

Hi List,

Does anyone have an example of how to check whether a value from the
CodeListValue attribute exists in the codelist defined as part of a schema
plugin? The codelists are defined in the loc/eng/codelist.xml file.

Thanks

Hi, you can probably do something similar to the INSPIRE theme check
https://github.com/geonetwork/core-geonetwork/blob/master/schemas/iso19139/src/main/plugin/iso19139/schematron/schematron-rules-inspire.sch#L295-L327

HTH

Francois

Le mer. 6 mars 2019 à 15:17, Sam Meek <sam.meek@anonymised.com> a écrit :

Hi List,

Does anyone have an example of how to check whether a value from the
CodeListValue attribute exists in the codelist defined as part of a schema
plugin? The codelists are defined in the loc/eng/codelist.xml file.

Thanks

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